Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: yaroslavborbat <[email protected]>
  • Loading branch information
yaroslavborbat committed Dec 11, 2024
1 parent 4e7ef3f commit 8aaf16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/admission-policy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $kubeVersion := semverCompare ">1.30.0" .Values.clusterConfiguration.kubernetesVersion }}
{{- $kubeVersion := semverCompare ">1.30.0" .Values.global.clusterConfiguration.kubernetesVersion }}
apiVersion: admissionregistration.k8s.io/{{ if $kubeVersion }}v1{{ else }}v1alpha1{{ end }}
kind: ValidatingAdmissionPolicy
metadata:
Expand Down

0 comments on commit 8aaf16a

Please sign in to comment.