Skip to content

Commit 3480935

Browse files
authored
Merge pull request #2816 from k8s-infra-cherrypick-robot/cherry-pick-2815-to-master
[master] Fix VAC fallback on 1.33 and before
2 parents d01b321 + 9c89af6 commit 3480935

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

charts/aws-ebs-csi-driver/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Helm chart
22

3+
## 2.54.1
4+
5+
### Bugfix
6+
7+
- Fix VAC fallback on 1.33 and before by not explicitly enabling feature gate ([#2815](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2815), [@ConnorJC3](https://github.com/ConnorJC3))
8+
39
## 2.54.0
410

511
### `a1CompatibilityDaemonSet` Deprecation Warning

charts/aws-ebs-csi-driver/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 1.54.0
33
name: aws-ebs-csi-driver
44
description: A Helm chart for AWS EBS CSI Driver
5-
version: 2.54.0
5+
version: 2.54.1
66
kubeVersion: ">=1.17.0-0"
77
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
88
sources:

charts/aws-ebs-csi-driver/templates/controller.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ spec:
249249
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.provisioner.additionalArgs)) }}
250250
- --retry-interval-max=30m
251251
{{- end }}
252-
{{- if .Capabilities.APIVersions.Has "storage.k8s.io/v1beta1/VolumeAttributesClass" }}
253-
- --feature-gates=VolumeAttributesClass=true
252+
{{- if not (or (.Capabilities.APIVersions.Has "storage.k8s.io/v1beta1/VolumeAttributesClass") (.Capabilities.APIVersions.Has "storage.k8s.io/v1/VolumeAttributesClass")) }}
253+
- --feature-gates=VolumeAttributesClass=false
254254
{{- end }}
255255
{{- if and (.Values.controller.enableMetrics) (not (regexMatch "(-http-endpoint)" (join " " .Values.sidecars.provisioner.additionalArgs))) }}
256256
- --http-endpoint=0.0.0.0:3302
@@ -565,8 +565,8 @@ spec:
565565
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.resizer.additionalArgs)) }}
566566
- --retry-interval-max=30m
567567
{{- end }}
568-
{{- if .Capabilities.APIVersions.Has "storage.k8s.io/v1beta1/VolumeAttributesClass" }}
569-
- --feature-gates=VolumeAttributesClass=true
568+
{{- if not (or (.Capabilities.APIVersions.Has "storage.k8s.io/v1beta1/VolumeAttributesClass") (.Capabilities.APIVersions.Has "storage.k8s.io/v1/VolumeAttributesClass")) }}
569+
- --feature-gates=VolumeAttributesClass=false
570570
{{- end }}
571571
{{- if and (.Values.controller.enableMetrics) (not (regexMatch "(-http-endpoint)" (join " " .Values.sidecars.resizer.additionalArgs))) }}
572572
- --http-endpoint=0.0.0.0:3304

deploy/kubernetes/base/controller.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ spec:
154154
- --kube-api-burst=100
155155
- --worker-threads=100
156156
- --retry-interval-max=30m
157-
- --feature-gates=VolumeAttributesClass=true
158157
env:
159158
- name: ADDRESS
160159
value: /var/lib/csi/sockets/pluginproxy/csi.sock
@@ -249,7 +248,6 @@ spec:
249248
- --kube-api-burst=100
250249
- --workers=100
251250
- --retry-interval-max=30m
252-
- --feature-gates=VolumeAttributesClass=true
253251
env:
254252
- name: ADDRESS
255253
value: /var/lib/csi/sockets/pluginproxy/csi.sock

0 commit comments

Comments
 (0)