diff --git a/chart/templates/webserver/webserver-deployment.yaml b/chart/templates/webserver/webserver-deployment.yaml index 08f6b30a4d819..6614a84fb3fa1 100644 --- a/chart/templates/webserver/webserver-deployment.yaml +++ b/chart/templates/webserver/webserver-deployment.yaml @@ -200,7 +200,7 @@ spec: containerPort: {{ .Values.ports.airflowUI }} livenessProbe: httpGet: - path: {{ if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health + path: {{ if .Values.webserver.livenessProbe.path }}{{- with urlParse (tpl .Values.webserver.livenessProbe.path .) }}{{ .path }}{{ end }}{{ else if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health port: {{ .Values.ports.airflowUI }} {{- if .Values.config.webserver.base_url}} httpHeaders: @@ -214,7 +214,7 @@ spec: periodSeconds: {{ .Values.webserver.livenessProbe.periodSeconds }} readinessProbe: httpGet: - path: {{ if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health + path: {{ if .Values.webserver.readinessProbe.path }}{{- with urlParse (tpl .Values.webserver.readinessProbe.path .) }}{{ .path }}{{ end }}{{ else if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health port: {{ .Values.ports.airflowUI }} {{- if .Values.config.webserver.base_url }} httpHeaders: @@ -228,7 +228,7 @@ spec: periodSeconds: {{ .Values.webserver.readinessProbe.periodSeconds }} startupProbe: httpGet: - path: {{ if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health + path: {{ if .Values.webserver.startupProbe.path }}{{- with urlParse (tpl .Values.webserver.startupProbe.path .) }}{{ .path }}{{ end }}{{ else if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health port: {{ .Values.ports.airflowUI }} {{- if .Values.config.webserver.base_url}} httpHeaders: diff --git a/chart/values.schema.json b/chart/values.schema.json index 8b494c285d229..7ad3bb40c2097 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -6665,6 +6665,11 @@ "type": "integer", "default": 5 }, + "path": { + "description": "Webserver Liveness probe path.", + "type": "string", + "default": null + }, "periodSeconds": { "description": "Webserver Liveness probe period seconds.", "type": "integer", @@ -6697,6 +6702,11 @@ "type": "integer", "default": 5 }, + "path": { + "description": "Webserver Readiness probe path.", + "type": "string", + "default": null + }, "periodSeconds": { "description": "Webserver Readiness probe period seconds.", "type": "integer", @@ -6729,6 +6739,11 @@ "type": "integer", "default": 6 }, + "path": { + "description": "Webserver Startup probe path.", + "type": "string", + "default": null + }, "periodSeconds": { "description": "Webserver Startup probe period seconds.", "type": "integer", diff --git a/chart/values.yaml b/chart/values.yaml index 4f85bd83fb87e..f7df8a2b8ce56 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1885,6 +1885,7 @@ webserver: initialDelaySeconds: 15 timeoutSeconds: 5 failureThreshold: 5 + # path: "{{ .Values.config.webserver.base_url }}" periodSeconds: 10 scheme: HTTP @@ -1892,6 +1893,7 @@ webserver: initialDelaySeconds: 15 timeoutSeconds: 5 failureThreshold: 5 + # path: "{{ .Values.config.webserver.base_url }}" periodSeconds: 10 scheme: HTTP @@ -1901,6 +1903,7 @@ webserver: initialDelaySeconds: 0 timeoutSeconds: 20 failureThreshold: 6 + # path: "{{ .Values.config.webserver.base_url }}" periodSeconds: 10 scheme: HTTP