Skip to content

Commit

Permalink
Merge pull request #2240 from ConnorJC3/enable-vac-kustomize
Browse files Browse the repository at this point in the history
Enable VAC feature gate for Kustomize deployments
  • Loading branch information
k8s-ci-robot authored Nov 25, 2024
2 parents a25f651 + 15a54c2 commit 0301ff3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions deploy/kubernetes/base/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ spec:
- --kube-api-burst=100
- --worker-threads=100
- --retry-interval-max=30m
- --feature-gates=VolumeAttributesClass=true
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down Expand Up @@ -235,6 +236,7 @@ spec:
- --kube-api-burst=100
- --workers=100
- --retry-interval-max=30m
- --feature-gates=VolumeAttributesClass=true
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
Expand Down
2 changes: 1 addition & 1 deletion hack/update-kustomize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ TEMP_DIR=$(mktemp -d)
trap "rm -rf \"${TEMP_DIR}\"" EXIT
cp "deploy/kubernetes/base/kustomization.yaml" "${TEMP_DIR}/kustomization.yaml"

"${BIN}/helm" template --output-dir "${TEMP_DIR}" --skip-tests --api-versions 'snapshot.storage.k8s.io/v1' --api-versions 'policy/v1/PodDisruptionBudget' --set 'controller.userAgentExtra=kustomize' kustomize charts/aws-ebs-csi-driver >/dev/null
"${BIN}/helm" template --output-dir "${TEMP_DIR}" --skip-tests --api-versions 'storage.k8s.io/v1beta1/VolumeAttributesClass' --api-versions 'snapshot.storage.k8s.io/v1' --api-versions 'policy/v1/PodDisruptionBudget' --set 'controller.userAgentExtra=kustomize' kustomize charts/aws-ebs-csi-driver >/dev/null
rm -rf "deploy/kubernetes/base"
mv "${TEMP_DIR}/aws-ebs-csi-driver/templates" "deploy/kubernetes/base"

Expand Down

0 comments on commit 0301ff3

Please sign in to comment.