Skip to content

Commit

Permalink
updated condition for startup probe
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Sep 30, 2024
1 parent 199a317 commit d0b4c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profisee-platform/templates/statefullset-profisee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
- name: profisee
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: Always
{{- if regexMatch "^(2[4-9]|[3-9][0-9])r[0-9]+\..*" .Values.image.tag }}
{{ if hasPrefix "2024" .Values.image.tag }}
livenessProbe:
httpGet:
path: /{{.Values.profiseeRunTime.webAppName}}/rest/health
Expand All @@ -105,7 +105,7 @@ spec:
SuccessThreshold: 1
failureThreshold: 3
{{- end }}
{{- if .Values.image.tag | regexMatch "^(2[4-9]|[3-9][0-9])r[0-9]+\..*" }}
{{ if hasPrefix "2024" .Values.image.tag }}
startupProbe:
exec:
command:
Expand Down

0 comments on commit d0b4c5e

Please sign in to comment.