Skip to content

Commit da033f7

Browse files
committed
Change driver name to pd.csi.storage.gke.io and topology key to topology.gke.io/zone
1 parent 24dfd7f commit da033f7

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ See Github [Issues](https://github.com/kubernetes-sigs/gcp-compute-persistent-di
4343

4444
### Topology
4545
This driver supports only one topology key:
46-
`com.google.topology/zone`
46+
`topology.gke.io/zone`
4747
that represents availability by zone.
4848

4949
## Kubernetes User Guide

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var (
3838
)
3939

4040
const (
41-
driverName = "com.google.csi.gcepd"
41+
driverName = "pd.csi.storage.gke.io"
4242
)
4343

4444
func main() {

deploy/kubernetes/base/controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
image: gcr.io/gke-release/csi-provisioner:v0.4.1-gke.0
2020
args:
2121
- "--v=5"
22-
- "--provisioner=com.google.csi.gcepd"
22+
- "--provisioner=pd.csi.storage.gke.io"
2323
- "--csi-address=/csi/csi.sock"
2424
volumeMounts:
2525
- name: socket-dir

deploy/kubernetes/base/node.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ spec:
1818
image: gcr.io/gke-release/csi-driver-registrar:v0.4.1-gke.0
1919
args:
2020
- "--v=5"
21-
- "--csi-address=/var/lib/kubelet/plugins/com.google.csi.gcepd/csi.sock"
22-
- "--kubelet-registration-path=/var/lib/kubelet/plugins/com.google.csi.gcepd/csi.sock"
21+
- "--csi-address=/var/lib/kubelet/plugins/pd.csi.storage.gke.io/csi.sock"
22+
- "--kubelet-registration-path=/var/lib/kubelet/plugins/pd.csi.storage.gke.io/csi.sock"
2323
lifecycle:
2424
preStop:
2525
exec:
26-
command: ["/bin/sh", "-c", "rm -rf /registration/com.google.csi.gcepd /registration/com.google.csi.gcepd-reg.sock"]
26+
command: ["/bin/sh", "-c", "rm -rf /registration/pd.csi.storage.gke.io /registration/pd.csi.storage.gke.io-reg.sock"]
2727
env:
2828
- name: KUBE_NODE_NAME
2929
valueFrom:
3030
fieldRef:
3131
fieldPath: spec.nodeName
3232
volumeMounts:
3333
- name: plugin-dir
34-
mountPath: /var/lib/kubelet/plugins/com.google.csi.gcepd/
34+
mountPath: /var/lib/kubelet/plugins/pd.csi.storage.gke.io/
3535
- name: registration-dir
3636
mountPath: /registration
3737
- name: gce-pd-driver
@@ -69,7 +69,7 @@ spec:
6969
type: Directory
7070
- name: plugin-dir
7171
hostPath:
72-
path: /var/lib/kubelet/plugins/com.google.csi.gcepd/
72+
path: /var/lib/kubelet/plugins/pd.csi.storage.gke.io/
7373
type: DirectoryOrCreate
7474
- name: device-dir
7575
hostPath:

examples/kubernetes/demo-defaultsnapshotclass.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ metadata:
44
annotations:
55
snapshot.storage.kubernetes.io/is-default-class: "true"
66
name: default-snapshot-class
7-
snapshotter: com.google.csi.gcepd
7+
snapshotter: pd.csi.storage.gke.io
88

examples/kubernetes/demo-regional-sc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1beta1
22
kind: StorageClass
33
metadata:
44
name: csi-gce-pd
5-
provisioner: com.google.csi.gcepd
5+
provisioner: pd.csi.storage.gke.io
66
parameters:
77
type: pd-standard
88
replication-type: regional-pd

examples/kubernetes/demo-zonal-sc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1beta1
22
kind: StorageClass
33
metadata:
44
name: csi-gce-pd
5-
provisioner: com.google.csi.gcepd
5+
provisioner: pd.csi.storage.gke.io
66
parameters:
77
type: pd-standard
88
volumeBindingMode: Immediate

pkg/common/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222
ParameterKeyReplicationType = "replication-type"
2323

2424
// Keys for Topology. This key will be shared amonst drivers from GCP
25-
TopologyKeyZone = "com.google.topology/zone"
25+
TopologyKeyZone = "topology.gke.io/zone"
2626

2727
// VolumeAttributes for Partition
2828
VolumeAttributePartition = "partition"

0 commit comments

Comments
 (0)