diff --git a/charts/templates/web-deployment.yaml b/charts/templates/web-deployment.yaml index 8f72862c..1b8a9d1b 100644 --- a/charts/templates/web-deployment.yaml +++ b/charts/templates/web-deployment.yaml @@ -29,17 +29,19 @@ spec: {{/* httpget doesn't work, timeouted */}} exec: command: - - /bin/sh - - -c - - "wget 'http://localhost:{{ .Values.web.port }}/!/web' --header 'Host: {{ .Values.ingress.host | quote }}'" + - wget + - 'http://localhost:{{ .Values.web.port }}/!/web' + - --header + - 'Host: {{ .Values.ingress.host | quote }}' livenessProbe: initialDelaySeconds: 5 periodSeconds: 20 exec: command: - - /bin/sh - - -c - - "wget 'http://localhost:{{ .Values.web.port }}/!/web' --header 'Host: {{ .Values.ingress.host | quote }}'" + - wget + - 'http://localhost:{{ .Values.web.port }}/!/web' + - --header + - 'Host: {{ .Values.ingress.host | quote }}' envFrom: - secretRef: name: {{ .Values.web.secretName }}