Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add semversion condition #188

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @naturalett . Any particular reason for this backward compatibility ?

We currently only support upto latest 3 major kubernetes versions as for the Kubernetes Versions Compatibility Matrix here.

startupProbe:
{{ .Values.startupProbe | toYaml | indent 12 | trim }}
{{- end }}
env:
{{- include "OpenMetadata.configs" . | nindent 10 }}
{{- with .Values.extraEnvs }}
Expand Down
Loading