diff --git a/stable/home-assistant/Chart.yaml b/stable/home-assistant/Chart.yaml index 2640392ef5..8b72f690a9 100644 --- a/stable/home-assistant/Chart.yaml +++ b/stable/home-assistant/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 0.101.2 description: Home Assistant name: home-assistant -version: 0.9.10 +version: 0.9.11 keywords: - home-assistant - hass diff --git a/stable/home-assistant/README.md b/stable/home-assistant/README.md index 88f2d2c03b..f82c764ab1 100644 --- a/stable/home-assistant/README.md +++ b/stable/home-assistant/README.md @@ -40,6 +40,12 @@ The following tables lists the configurable parameters of the Home Assistant cha | `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.pullSecrets` | Secrets to use when pulling the image | `[]` | | `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` | +| `probes.liveness.initialDelaySeconds` | Specify liveness `initialDelaySeconds` parameter for the deployment | `60` | +| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` | +| `probes.liveness.timeoutSeconds` | Specify liveness `timeoutSeconds` parameter for the deployment | `10` | +| `probes.readiness.initialDelaySeconds` | Specify readiness `initialDelaySeconds` parameter for the deployment | `60` | +| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` | +| `probes.readiness.timeoutSeconds` | Specify readiness `timeoutSeconds` parameter for the deployment | `10` | | `service.type` | Kubernetes service type for the home-assistant GUI | `ClusterIP` | | `service.port` | Kubernetes port where the home-assistant GUI is exposed| `8123` | | `service.annotations` | Service annotations for the home-assistant GUI | `{}` | diff --git a/stable/home-assistant/templates/deployment.yaml b/stable/home-assistant/templates/deployment.yaml index b80057bd84..ec6e5ad95f 100644 --- a/stable/home-assistant/templates/deployment.yaml +++ b/stable/home-assistant/templates/deployment.yaml @@ -77,16 +77,16 @@ spec: httpGet: path: / port: api - initialDelaySeconds: 60 - failureThreshold: 5 - timeoutSeconds: 10 + initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }} + failureThreshold: {{ .Values.probes.liveness.failureThreshold }} + timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }} readinessProbe: httpGet: path: / port: api - initialDelaySeconds: 60 - failureThreshold: 5 - timeoutSeconds: 10 + initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }} + failureThreshold: {{ .Values.probes.readiness.failureThreshold }} + timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }} env: {{- range $key, $value := .Values.extraEnv }} - name: {{ $key }} diff --git a/stable/home-assistant/values.yaml b/stable/home-assistant/values.yaml index 267f811f4f..4de3eb5a46 100644 --- a/stable/home-assistant/values.yaml +++ b/stable/home-assistant/values.yaml @@ -11,6 +11,17 @@ image: # upgrade strategy type (e.g. Recreate or RollingUpdate) strategyType: Recreate +# Probes configuration +probes: + liveness: + initialDelaySeconds: 60 + failureThreshold: 5 + timeoutSeconds: 10 + readiness: + initialDelaySeconds: 60 + failureThreshold: 5 + timeoutSeconds: 10 + service: type: ClusterIP port: 8123