diff --git a/profisee-platform/templates/statefullset-profisee.yaml b/profisee-platform/templates/statefullset-profisee.yaml index 173b0c97..5579a35f 100644 --- a/profisee-platform/templates/statefullset-profisee.yaml +++ b/profisee-platform/templates/statefullset-profisee.yaml @@ -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 @@ -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: