From 472341992cdaf5040c519d970e05e342ed36a7fe Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 30 Sep 2018 11:57:36 +1000 Subject: [PATCH] liveness/readiness probe params indent out to correct level & make more tolerant (can take a while for HA to start ...) (#8063) Signed-off-by: Nick Doyle --- stable/home-assistant/Chart.yaml | 2 +- stable/home-assistant/templates/deployment.yaml | 8 ++++++-- stable/home-assistant/templates/service.yaml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/stable/home-assistant/Chart.yaml b/stable/home-assistant/Chart.yaml index 4ccc5aa3dd..69a61391be 100644 --- a/stable/home-assistant/Chart.yaml +++ b/stable/home-assistant/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 0.77.1 description: Home Assistant name: home-assistant -version: 0.2.0 +version: 0.2.1 keywords: - home-assistant - hass diff --git a/stable/home-assistant/templates/deployment.yaml b/stable/home-assistant/templates/deployment.yaml index 4d677ae457..139a764424 100644 --- a/stable/home-assistant/templates/deployment.yaml +++ b/stable/home-assistant/templates/deployment.yaml @@ -31,12 +31,16 @@ spec: httpGet: path: / port: api - initialDelaySeconds: 30 + initialDelaySeconds: 30 + failureThreshold: 5 + timeoutSeconds: 5 readinessProbe: httpGet: path: / port: api - initialDelaySeconds: 15 + initialDelaySeconds: 30 + failureThreshold: 5 + timeoutSeconds: 5 env: {{- range $key, $value := .Values.extraEnv }} - name: {{ $key }} diff --git a/stable/home-assistant/templates/service.yaml b/stable/home-assistant/templates/service.yaml index 3fa9f08a35..9d372a57a9 100644 --- a/stable/home-assistant/templates/service.yaml +++ b/stable/home-assistant/templates/service.yaml @@ -55,4 +55,4 @@ spec: {{- end }} selector: app: {{ template "home-assistant.name" . }} - release: {{ .Release.Name }} \ No newline at end of file + release: {{ .Release.Name }}