Skip to content

Commit

Permalink
Use correct provisioner "csi.hetzner.cloud"
Browse files Browse the repository at this point in the history
  • Loading branch information
NotTheEvilOne committed May 19, 2021
1 parent a45e3ad commit 7ee6707
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ .Values.config.etcd.storage.className }}
labels:
{{ include "labels" . | indent 4 }}
provisioner: csi.vsphere.vmware.com
provisioner: csi.hetzner.cloud
allowVolumeExpansion: true
parameters:
{{- if .Values.gardener.seed.spec.provider.providerConfig.svStorageClass }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ spec:
apiVersion: storage.k8s.io/v1beta1
kind: CSIDriver
metadata:
name: csi.vsphere.vmware.com
name: csi.hetzner.cloud
spec:
attachRequired: true
podInfoOnMount: false
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "true"
resources.gardener.cloud/delete-on-invalid-update: "true"
provisioner: csi.vsphere.vmware.com
provisioner: csi.hetzner.cloud
volumeBindingMode: {{ .Values.volumeBindingMode }}
allowVolumeExpansion: {{ .Values.allowVolumeExpansion }}
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
lifecycle:
preStop:
exec:
command: ["/bin/sh", "-c", "rm -rf /registration/csi.vsphere.vmware.com-reg.sock /csi/csi.sock /var/lib/kubelet/plugins_registry/csi.vsphere.vmware.com-reg.sock"]
command: ["/bin/sh", "-c", "rm -rf /registration/csi.hetzner.cloud-reg.sock /csi/csi.sock /var/lib/kubelet/plugins_registry/csi.hetzner.cloud-reg.sock"]
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand All @@ -43,7 +43,7 @@ spec:
- name: ADDRESS
value: /csi/csi.sock
- name: DRIVER_REG_SOCK_PATH
value: /var/lib/kubelet/plugins_registry/csi.vsphere.vmware.com/csi.sock
value: /var/lib/kubelet/plugins_registry/csi.hetzner.cloud/csi.sock
securityContext:
privileged: true
volumeMounts:
Expand Down Expand Up @@ -119,7 +119,7 @@ spec:
type: DirectoryOrCreate
- name: plugin-dir
hostPath:
path: /var/lib/kubelet/plugins_registry/csi.vsphere.vmware.com
path: /var/lib/kubelet/plugins_registry/csi.hetzner.cloud
type: DirectoryOrCreate
- name: pods-mount-dir
hostPath:
Expand Down

0 comments on commit 7ee6707

Please sign in to comment.