Skip to content

Commit

Permalink
feat[ASM-10596]- Readiness/Liveliness: regex match on semver
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-akeyless committed Jun 16, 2024
1 parent 12b4ee8 commit 5618da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/akeyless-api-gateway/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ Check metrics configuration Secret
{{- end }}

{{- define "gw_health_path" -}}
{{- if eq "latest" (include "version" .) -}}
{{- if not (regexMatch "[0-9]+(\\.[0-9]+){2}" (include "version" .)) -}}
/health
{{- else -}}
{{- $parts := split "." (include "version" .) -}}
Expand Down

0 comments on commit 5618da8

Please sign in to comment.