Update template and update script
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
c0ceae535e
commit
beff055784
21 changed files with 643 additions and 71 deletions
|
|
@ -23,6 +23,19 @@ spec:
|
|||
priorityClassName: system-node-critical
|
||||
serviceAccount: csi-do-node-sa
|
||||
hostNetwork: true
|
||||
initContainers:
|
||||
# Delete automount udev rule running on all DO droplets. The rule mounts
|
||||
# devices briefly and may conflict with CSI-managed droplets (leading to
|
||||
# "resource busy" errors). We can safely delete it in DOKS.
|
||||
- name: automount-udev-deleter
|
||||
image: alpine:3
|
||||
args:
|
||||
- "rm"
|
||||
- "-f"
|
||||
- "/etc/udev/rules.d/99-digitalocean-automount.rules"
|
||||
volumeMounts:
|
||||
- name: udev-rules-dir
|
||||
mountPath: /etc/udev/rules.d/
|
||||
containers:
|
||||
- name: csi-node-driver-registrar
|
||||
image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0
|
||||
|
|
@ -49,7 +62,7 @@ spec:
|
|||
- name: registration-dir
|
||||
mountPath: /registration/
|
||||
- name: csi-do-plugin
|
||||
image: digitalocean/do-csi-plugin:dev
|
||||
image: digitalocean/do-csi-plugin:v2.0.0
|
||||
args :
|
||||
- "--endpoint=$(CSI_ENDPOINT)"
|
||||
- "--url=$(DIGITALOCEAN_API_URL)"
|
||||
|
|
@ -90,3 +103,6 @@ spec:
|
|||
- name: device-dir
|
||||
hostPath:
|
||||
path: /dev
|
||||
- name: udev-rules-dir
|
||||
hostPath:
|
||||
path: /etc/udev/rules.d/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue