Skip to content

Commit a13019b

Browse files
authored
Merge pull request #1838 from travisyx/fix-ci
Enable VolumeAttributesClass feature gate for CI runs
2 parents 51b78e4 + 9358d56 commit a13019b

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

Diff for: deploy/kubernetes/overlays/prow-stable-sidecar-rc-master/driver-args.yaml

-7
This file was deleted.

Diff for: deploy/kubernetes/overlays/prow-stable-sidecar-rc-master/kustomization.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,5 @@ patchesJson6902:
2424
kind: Deployment
2525
name: csi-gce-pd-controller
2626
version: v1
27-
- path: driver-args.yaml
28-
target:
29-
group: apps
30-
kind: Deployment
31-
name: csi-gce-pd-controller
32-
version: v1
3327
transformers:
3428
- ../../images/prow-stable-sidecar-rc-master

Diff for: docs/kubernetes/user-guides/controller-modify-volume.md renamed to docs/kubernetes/user-guides/volume-attributes-class.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ControllerModifyVolume User Guide
1+
# VolumeAttributesClass User Guide
22

33
>**Attention:** VolumeAttributesClass is a Kubernetes Beta feature since v1.31, but was initially introduced as an alpha feature in v1.29. See [this blog post](https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/) for more information on VolumeAttributesClasses and how to enable the feature gate.
44
5-
### ControllerModifyVolume Example
5+
### VolumeAttributesClass Example
66

77
This example provisions a hyperdisk-balanced and then updates its IOPS and throughput.
88

Diff for: test/run-k8s-integration-ci.sh

+3
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ fi
120120

121121
if [ "$test_volumeattributesclass" = true ]; then
122122
base_cmd="${base_cmd} --volumeattributesclass-files=hdb-volumeattributesclass.yaml --storageclass-for-vac-file=sc-hdb.yaml --kube-runtime-config=api/all=true"
123+
if [ "$deployment_strategy" = "gce" ]; then
124+
base_cmd="${base_cmd} --kube-feature-gates=VolumeAttributesClass=true"
125+
fi
123126
fi
124127

125128
eval "$base_cmd"

0 commit comments

Comments
 (0)