From 5f0a25248bbcd7ee3f7b23fad3f05a576fb172fb Mon Sep 17 00:00:00 2001 From: Holden Omans Date: Wed, 11 Nov 2020 08:39:24 -0500 Subject: [PATCH] [homebridge] Missing strategyType in homebridge deployment (#110) * Missing strategyType in homebridge deployment * Update Chart.yaml * Update values.yaml Co-authored-by: Jeff Billimek --- charts/homebridge/Chart.yaml | 2 +- charts/homebridge/templates/deployment.yaml | 2 ++ charts/homebridge/values.yaml | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) 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