diff --git a/charts/opencost/templates/deployment.yaml b/charts/opencost/templates/deployment.yaml index d85a339..b726c2e 100644 --- a/charts/opencost/templates/deployment.yaml +++ b/charts/opencost/templates/deployment.yaml @@ -64,7 +64,7 @@ spec: {{- if .Values.opencost.exporter.livenessProbe.enabled }} livenessProbe: httpGet: - path: /healthz + path: {{ .Values.opencost.exporter.livenessProbe.path }} port: {{ .Values.opencost.exporter.apiPort }} initialDelaySeconds: {{ .Values.opencost.exporter.livenessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.opencost.exporter.livenessProbe.periodSeconds }} @@ -73,7 +73,7 @@ spec: {{- if .Values.opencost.exporter.readinessProbe.enabled }} readinessProbe: httpGet: - path: /healthz + path: {{ .Values.opencost.exporter.readinessProbe.path }} port: {{ .Values.opencost.exporter.apiPort }} initialDelaySeconds: {{ .Values.opencost.exporter.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.opencost.exporter.readinessProbe.periodSeconds }} @@ -226,7 +226,7 @@ spec: {{- if .Values.opencost.ui.livenessProbe.enabled }} livenessProbe: httpGet: - path: /healthz + path: {{ .Values.opencost.ui.livenessProbe.path }} port: {{ .Values.opencost.ui.uiPort }} initialDelaySeconds: {{ .Values.opencost.ui.livenessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.opencost.ui.livenessProbe.periodSeconds }} @@ -235,7 +235,7 @@ spec: {{- if .Values.opencost.ui.readinessProbe.enabled }} readinessProbe: httpGet: - path: /healthz + path: {{ .Values.opencost.ui.readinessProbe.path }} port: {{ .Values.opencost.ui.uiPort }} initialDelaySeconds: {{ .Values.opencost.ui.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.opencost.ui.readinessProbe.periodSeconds }} diff --git a/charts/opencost/values.yaml b/charts/opencost/values.yaml index f59246e..d3959bb 100644 --- a/charts/opencost/values.yaml +++ b/charts/opencost/values.yaml @@ -115,6 +115,8 @@ opencost: livenessProbe: # -- Whether probe is enabled enabled: true + # -- Probe path + path: /healthz # -- Number of seconds before probe is initiated initialDelaySeconds: 120 # -- Probe frequency in seconds @@ -125,6 +127,8 @@ opencost: readinessProbe: # -- Whether probe is enabled enabled: true + # -- Probe path + path: /healthz # -- Number of seconds before probe is initiated initialDelaySeconds: 120 # -- Probe frequency in seconds @@ -315,6 +319,8 @@ opencost: livenessProbe: # -- Whether probe is enabled enabled: true + # -- Probe path + path: /healthz # -- Number of seconds before probe is initiated initialDelaySeconds: 30 # -- Probe frequency in seconds @@ -325,6 +331,8 @@ opencost: readinessProbe: # -- Whether probe is enabled enabled: true + # -- Probe path + path: /healthz # -- Number of seconds before probe is initiated initialDelaySeconds: 30 # -- Probe frequency in seconds