Skip to content

Commit

Permalink
Merge pull request #887 from lizhuqi/readonly-cp
Browse files Browse the repository at this point in the history
Cherry Pick #886 [Move readonly from dev to base] to release-1.4
  • Loading branch information
k8s-ci-robot authored Jan 8, 2022
2 parents d8cad55 + a6b9e71 commit aadc8d2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
1 change: 1 addition & 0 deletions deploy/kubernetes/base/controller/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ spec:
# - "--run-node-service=false" # disable the node service of the CSI driver
- "--leader-election"
- "--default-fstype=ext4"
- "--controller-publish-readonly=true"
env:
- name: PDCSI_NAMESPACE
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/images/stable-master/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: imagetag-csi-provisioner
imageTag:
name: k8s.gcr.io/sig-storage/csi-provisioner
newTag: "v2.2.1"
newTag: "v3.0.0"

---
apiVersion: builtin
Expand Down
20 changes: 0 additions & 20 deletions deploy/kubernetes/overlays/dev/controller_readonly.yaml

This file was deleted.

1 change: 0 additions & 1 deletion deploy/kubernetes/overlays/dev/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ kind: Kustomization
patchesStrategicMerge:
- controller_always_pull.yaml
- node_always_pull.yaml
- controller_readonly.yaml
namespace: gce-pd-csi-driver
resources:
- ../../base/
Expand Down

0 comments on commit aadc8d2

Please sign in to comment.