File tree 22 files changed +304
-5
lines changed
22 files changed +304
-5
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,4 @@ namespace:
5
5
resources :
6
6
- cluster_setup.yaml
7
7
- controller.yaml
8
- - psp.yaml
9
8
- v1_csidriver.yaml
Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ namespace:
4
4
gce-pd-csi-driver
5
5
resources :
6
6
- node.yaml
7
- - psp.yaml
Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ namespace:
4
4
gce-pd-csi-driver
5
5
resources :
6
6
- node.yaml
7
- - psp.yaml
Original file line number Diff line number Diff line change 10
10
# Args:
11
11
# GCE_PD_SA_DIR: Directory the service account key has been saved in (generated
12
12
# by setup-project.sh). Ignored if GCE_PD_DRIVER_VERSION == noauth.
13
- # GCE_PD_DRIVER_VERSION: The kustomize overlay (located in
14
- # deploy/kubernetes/overlays) to deploy. Can be one of {stable, dev}
13
+ # GCE_PD_DRIVER_VERSION: The kustomize overlay to deploy. See
14
+ # ` deploy/kubernetes/overlays` for your choices.
15
15
16
16
set -o nounset
17
17
set -o errexit
Original file line number Diff line number Diff line change
1
+ apiVersion : builtin
2
+ kind : ImageTagTransformer
3
+ metadata :
4
+ name : imagetag-csi-provisioner
5
+ imageTag :
6
+ name : k8s.gcr.io/sig-storage/csi-provisioner
7
+ newTag : " v3.1.0"
8
+
9
+ ---
10
+ apiVersion : builtin
11
+ kind : ImageTagTransformer
12
+ metadata :
13
+ name : imagetag-csi-attacher
14
+ imageTag :
15
+ name : k8s.gcr.io/sig-storage/csi-attacher
16
+ newTag : " v3.4.0"
17
+ ---
18
+
19
+ apiVersion : builtin
20
+ kind : ImageTagTransformer
21
+ metadata :
22
+ name : imagetag-csi-resizer
23
+ imageTag :
24
+ name : k8s.gcr.io/sig-storage/csi-resizer
25
+ newTag : " v1.4.0"
26
+ ---
27
+
28
+ apiVersion : builtin
29
+ kind : ImageTagTransformer
30
+ metadata :
31
+ name : imagetag-csi-snapshotter
32
+ imageTag :
33
+ name : k8s.gcr.io/sig-storage/csi-snapshotter
34
+ newTag : " v4.0.1"
35
+ ---
36
+
37
+ apiVersion : builtin
38
+ kind : ImageTagTransformer
39
+ metadata :
40
+ name : imagetag-csi-node-registrar
41
+ imageTag :
42
+ name : k8s.gcr.io/sig-storage/csi-node-driver-registrar
43
+ newTag : " v2.5.0"
44
+ ---
45
+
46
+ apiVersion : builtin
47
+ kind : ImageTagTransformer
48
+ metadata :
49
+ name : imagetag-gcepd-driver
50
+ imageTag :
51
+ name : gke.gcr.io/gcp-compute-persistent-disk-csi-driver
52
+ # Don't change stable image without changing pdImagePlaceholder in
53
+ # test/k8s-integration/main.go
54
+ newName : k8s.gcr.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver
55
+ newTag : " v1.4.0"
56
+ ---
Original file line number Diff line number Diff line change
1
+ namespace :
2
+ gce-pd-csi-driver
3
+ resources :
4
+ - image.yaml
Original file line number Diff line number Diff line change @@ -4,5 +4,8 @@ namespace:
4
4
gce-pd-csi-driver
5
5
resources :
6
6
- ../../base/
7
+ - psp_controller.yaml
8
+ - psp_linux.yaml
9
+ - psp_windows.yaml
7
10
transformers :
8
11
- ../../images/stable-1-21
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -4,5 +4,8 @@ namespace:
4
4
gce-pd-csi-driver
5
5
resources :
6
6
- ../../base/
7
+ - psp_controller.yaml
8
+ - psp_linux.yaml
9
+ - psp_windows.yaml
7
10
transformers :
8
11
- ../../images/stable-1-21
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-controller-psp
5
+ spec :
6
+ seLinux :
7
+ rule : RunAsAny
8
+ supplementalGroups :
9
+ rule : RunAsAny
10
+ runAsUser :
11
+ rule : RunAsAny
12
+ fsGroup :
13
+ rule : RunAsAny
14
+ volumes :
15
+ - " emptyDir"
16
+ - " secret"
17
+ hostNetwork : true
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-node-psp
5
+ spec :
6
+ seLinux :
7
+ rule : RunAsAny
8
+ supplementalGroups :
9
+ rule : RunAsAny
10
+ runAsUser :
11
+ rule : RunAsAny
12
+ fsGroup :
13
+ rule : RunAsAny
14
+ privileged : true
15
+ volumes :
16
+ - ' *'
17
+ hostNetwork : true
18
+ allowedHostPaths :
19
+ - pathPrefix : " /var/lib/kubelet/plugins_registry/"
20
+ - pathPrefix : " /var/lib/kubelet"
21
+ - pathPrefix : " /var/lib/kubelet/plugins/pd.csi.storage.gke.io/"
22
+ - pathPrefix : " /dev"
23
+ - pathPrefix : " /etc/udev"
24
+ - pathPrefix : " /lib/udev"
25
+ - pathPrefix : " /run/udev"
26
+ - pathPrefix : " /sys"
27
+
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-node-psp-win
5
+ spec :
6
+ supplementalGroups :
7
+ rule : RunAsAny
8
+ runAsUser :
9
+ rule : RunAsAny
10
+ fsGroup :
11
+ rule : RunAsAny
12
+ seLinux :
13
+ rule : RunAsAny
14
+ volumes :
15
+ - ' *'
16
+ hostNetwork : true
17
+ allowedHostPaths :
18
+ - pathPrefix : \var\lib\kubelet
19
+ - pathPrefix : \var\lib\kubelet\plugins_registry
20
+ - pathPrefix : \var\lib\kubelet\plugins\pd.csi.storage.gke.io
21
+ - pathPrefix : \\.\pipe\csi-proxy-disk-v1
22
+ - pathPrefix : \\.\pipe\csi-proxy-volume-v1
23
+ - pathPrefix : \\.\pipe\csi-proxy-filesystem-v1
24
+ # these paths are allowed only for compatibility mode if the PD CSI driver
25
+ # is using the CSI Proxy v1 client and the node is still using the
26
+ # beta version of the CSI proxy
27
+ - pathPrefix : \\.\pipe\csi-proxy-disk-v1beta2
28
+ - pathPrefix : \\.\pipe\csi-proxy-volume-v1beta1
29
+ - pathPrefix : \\.\pipe\csi-proxy-filesystem-v1beta1
30
+
Original file line number Diff line number Diff line change @@ -4,5 +4,8 @@ namespace:
4
4
gce-pd-csi-driver
5
5
resources :
6
6
- ../../base/
7
+ - psp_controller.yaml
8
+ - psp_linux.yaml
9
+ - psp_windows.yaml
7
10
transformers :
8
11
- ../../images/stable-1-23
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-controller-psp
5
+ spec :
6
+ seLinux :
7
+ rule : RunAsAny
8
+ supplementalGroups :
9
+ rule : RunAsAny
10
+ runAsUser :
11
+ rule : RunAsAny
12
+ fsGroup :
13
+ rule : RunAsAny
14
+ volumes :
15
+ - " emptyDir"
16
+ - " secret"
17
+ hostNetwork : true
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-node-psp
5
+ spec :
6
+ seLinux :
7
+ rule : RunAsAny
8
+ supplementalGroups :
9
+ rule : RunAsAny
10
+ runAsUser :
11
+ rule : RunAsAny
12
+ fsGroup :
13
+ rule : RunAsAny
14
+ privileged : true
15
+ volumes :
16
+ - ' *'
17
+ hostNetwork : true
18
+ allowedHostPaths :
19
+ - pathPrefix : " /var/lib/kubelet/plugins_registry/"
20
+ - pathPrefix : " /var/lib/kubelet"
21
+ - pathPrefix : " /var/lib/kubelet/plugins/pd.csi.storage.gke.io/"
22
+ - pathPrefix : " /dev"
23
+ - pathPrefix : " /etc/udev"
24
+ - pathPrefix : " /lib/udev"
25
+ - pathPrefix : " /run/udev"
26
+ - pathPrefix : " /sys"
27
+
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-node-psp-win
5
+ spec :
6
+ supplementalGroups :
7
+ rule : RunAsAny
8
+ runAsUser :
9
+ rule : RunAsAny
10
+ fsGroup :
11
+ rule : RunAsAny
12
+ seLinux :
13
+ rule : RunAsAny
14
+ volumes :
15
+ - ' *'
16
+ hostNetwork : true
17
+ allowedHostPaths :
18
+ - pathPrefix : \var\lib\kubelet
19
+ - pathPrefix : \var\lib\kubelet\plugins_registry
20
+ - pathPrefix : \var\lib\kubelet\plugins\pd.csi.storage.gke.io
21
+ - pathPrefix : \\.\pipe\csi-proxy-disk-v1
22
+ - pathPrefix : \\.\pipe\csi-proxy-volume-v1
23
+ - pathPrefix : \\.\pipe\csi-proxy-filesystem-v1
24
+ # these paths are allowed only for compatibility mode if the PD CSI driver
25
+ # is using the CSI Proxy v1 client and the node is still using the
26
+ # beta version of the CSI proxy
27
+ - pathPrefix : \\.\pipe\csi-proxy-disk-v1beta2
28
+ - pathPrefix : \\.\pipe\csi-proxy-volume-v1beta1
29
+ - pathPrefix : \\.\pipe\csi-proxy-filesystem-v1beta1
30
+
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.config.k8s.io/v1beta1
2
+ kind : Kustomization
3
+ namespace :
4
+ gce-pd-csi-driver
5
+ resources :
6
+ - ../../base
7
+ - psp_controller.yaml
8
+ - psp_linux.yaml
9
+ - psp_windows.yaml
10
+ transformers :
11
+ - ../../images/stable-1-24
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-controller-psp
5
+ spec :
6
+ seLinux :
7
+ rule : RunAsAny
8
+ supplementalGroups :
9
+ rule : RunAsAny
10
+ runAsUser :
11
+ rule : RunAsAny
12
+ fsGroup :
13
+ rule : RunAsAny
14
+ volumes :
15
+ - " emptyDir"
16
+ - " secret"
17
+ hostNetwork : true
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-node-psp
5
+ spec :
6
+ seLinux :
7
+ rule : RunAsAny
8
+ supplementalGroups :
9
+ rule : RunAsAny
10
+ runAsUser :
11
+ rule : RunAsAny
12
+ fsGroup :
13
+ rule : RunAsAny
14
+ privileged : true
15
+ volumes :
16
+ - ' *'
17
+ hostNetwork : true
18
+ allowedHostPaths :
19
+ - pathPrefix : " /var/lib/kubelet/plugins_registry/"
20
+ - pathPrefix : " /var/lib/kubelet"
21
+ - pathPrefix : " /var/lib/kubelet/plugins/pd.csi.storage.gke.io/"
22
+ - pathPrefix : " /dev"
23
+ - pathPrefix : " /etc/udev"
24
+ - pathPrefix : " /lib/udev"
25
+ - pathPrefix : " /run/udev"
26
+ - pathPrefix : " /sys"
27
+
Original file line number Diff line number Diff line change
1
+ apiVersion : policy/v1beta1
2
+ kind : PodSecurityPolicy
3
+ metadata :
4
+ name : csi-gce-pd-node-psp-win
5
+ spec :
6
+ supplementalGroups :
7
+ rule : RunAsAny
8
+ runAsUser :
9
+ rule : RunAsAny
10
+ fsGroup :
11
+ rule : RunAsAny
12
+ seLinux :
13
+ rule : RunAsAny
14
+ volumes :
15
+ - ' *'
16
+ hostNetwork : true
17
+ allowedHostPaths :
18
+ - pathPrefix : \var\lib\kubelet
19
+ - pathPrefix : \var\lib\kubelet\plugins_registry
20
+ - pathPrefix : \var\lib\kubelet\plugins\pd.csi.storage.gke.io
21
+ - pathPrefix : \\.\pipe\csi-proxy-disk-v1
22
+ - pathPrefix : \\.\pipe\csi-proxy-volume-v1
23
+ - pathPrefix : \\.\pipe\csi-proxy-filesystem-v1
24
+ # these paths are allowed only for compatibility mode if the PD CSI driver
25
+ # is using the CSI Proxy v1 client and the node is still using the
26
+ # beta version of the CSI proxy
27
+ - pathPrefix : \\.\pipe\csi-proxy-disk-v1beta2
28
+ - pathPrefix : \\.\pipe\csi-proxy-volume-v1beta1
29
+ - pathPrefix : \\.\pipe\csi-proxy-filesystem-v1beta1
30
+
You can’t perform that action at this time.
0 commit comments