Skip to content

Commit

Permalink
add semversion condition
Browse files Browse the repository at this point in the history
  • Loading branch information
naturalett committed Oct 12, 2023
1 parent b55ddf9 commit f513af9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/openmetadata/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ spec:
{{ .Values.livenessProbe | toYaml | indent 12 | trim }}
readinessProbe:
{{ .Values.readinessProbe | toYaml | indent 12 | trim }}
{{- if (semverCompare ">=1.16-0" .Capabilities.KubeVersion.GitVersion) }}
startupProbe:
{{ .Values.startupProbe | toYaml | indent 12 | trim }}
{{- end }}
env:
{{- include "OpenMetadata.configs" . | nindent 10 }}
{{- with .Values.extraEnvs }}
Expand Down

0 comments on commit f513af9

Please sign in to comment.