Skip to content

Commit dba0683

Browse files
authored
allow csi driver to run in different environments (#625)
1 parent cb58ec3 commit dba0683

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

templates/addons/csi-driver-linode/linode-csi.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
repoURL: https://linode.github.io/linode-blockstorage-csi-driver/
1010
chartName: linode-blockstorage-csi-driver
1111
namespace: kube-system
12-
version: ${LINODE_CSI_VERSION:=v0.8.4}
12+
version: ${LINODE_CSI_VERSION:=v1.0.3}
1313
options:
1414
waitForJobs: true
1515
wait: true
@@ -18,3 +18,18 @@ spec:
1818
secretRef:
1919
name: "linode-token-region"
2020
apiTokenRef: "apiToken"
21+
csiLinodePlugin:
22+
env:
23+
- name: LINODE_URL
24+
value: ${LINODE_URL:="https://api.linode.com"}
25+
- name: SSL_CERT_DIR
26+
value: "/tls"
27+
volumeMounts:
28+
- name: cacert
29+
mountPath: /tls
30+
readOnly: true
31+
volumes:
32+
- name: cacert
33+
secret:
34+
secretName: linode-ca
35+
defaultMode: 420

0 commit comments

Comments
 (0)