Skip to content

Commit 69f55aa

Browse files
authored
Fix ingressclass semver comparison in helm chart
Bug first appeared in: d893dd0 Helm will fail to install the ingressclass resource when the patch value of the semver contains some non-numerical suffix. For example: * v1.18.8-rc.1 * v1.18.10-gke.601
1 parent fa00d5e commit 69f55aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployments/helm-chart/templates/controller-ingress-class.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if semverCompare ">=1.18.0" .Capabilities.KubeVersion.GitVersion }}
1+
{{- if semverCompare ">=1.18.0-0" .Capabilities.KubeVersion.GitVersion }}
22
apiVersion: networking.k8s.io/v1beta1
33
kind: IngressClass
44
metadata:

0 commit comments

Comments
 (0)