Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
fix(helm): add patch version to semverCompare (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
keiSunagawa committed Feb 25, 2021
1 parent 9214c54 commit 9394316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kubernetes-external-secrets/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.rbac.create -}}
{{- if semverCompare ">=1.17.0" .Capabilities.KubeVersion.GitVersion -}}
{{- if semverCompare ">=1.17.0-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: rbac.authorization.k8s.io/v1
{{- else -}}
apiVersion: rbac.authorization.k8s.io/v1beta1
Expand Down

0 comments on commit 9394316

Please sign in to comment.