Skip to content

Commit 55496bb

Browse files
authored
fix: use consistent k8s API semver comparison logic (#19)
This is required to work around bugs in the version string returned by kubernetes distros such as EKS and GKE, where they have invalid Semantic Version strings. See helm/helm#3810. Signed-off-by: Scott Leggett <[email protected]>
1 parent d870fd9 commit 55496bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

charts/opensearch-dashboards/templates/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
{{- end }}
3030
{{- end }}
3131
rules:
32-
{{- if semverCompare ">=1.19" .Capabilities.KubeVersion.Version -}}
32+
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.Version -}}
3333
{{- range .Values.ingress.hosts }}
3434
- host: {{ .host | quote }}
3535
http:

0 commit comments

Comments
 (0)