Skip to content

Commit

Permalink
Fix ingressclass semver comparison in helm chart
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Dean-Coakley committed Nov 23, 2020
1 parent 296a03c commit 9f1c285
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if semverCompare ">=1.18.0" .Capabilities.KubeVersion.GitVersion }}
{{- if semverCompare ">=1.18.0-0" .Capabilities.KubeVersion.GitVersion }}
apiVersion: networking.k8s.io/v1beta1
kind: IngressClass
metadata:
Expand Down

0 comments on commit 9f1c285

Please sign in to comment.