diff --git a/charts/homebridge/Chart.yaml b/charts/homebridge/Chart.yaml index 29f9e7ae..3b002e42 100644 --- a/charts/homebridge/Chart.yaml +++ b/charts/homebridge/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 appVersion: 3.1.0 -version: 1.0.1 +version: 1.0.2 name: homebridge description: A lightweight NodeJS server that emulates the iOS HomeKit API type: application diff --git a/charts/homebridge/templates/deployment.yaml b/charts/homebridge/templates/deployment.yaml index 0f3d5716..cbbdcab2 100644 --- a/charts/homebridge/templates/deployment.yaml +++ b/charts/homebridge/templates/deployment.yaml @@ -6,6 +6,8 @@ metadata: {{- include "homebridge.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + strategy: + type: {{ .Values.strategyType }} selector: matchLabels: {{- include "homebridge.selectorLabels" . | nindent 6 }} diff --git a/charts/homebridge/values.yaml b/charts/homebridge/values.yaml index d1d2955e..70f065aa 100644 --- a/charts/homebridge/values.yaml +++ b/charts/homebridge/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# upgrade strategy type (e.g. Recreate or RollingUpdate) +strategyType: Recreate + timezone: "UTC" puid: 1000 pgid: 1000