16 lines
325 B
Bash
16 lines
325 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
. variables.sh
|
||
|
|
||
|
cat << EOF > output/csi-values.yaml
|
||
|
storageClasses:
|
||
|
- name: hcloud-volumes
|
||
|
defaultStorageClass: true
|
||
|
reclaimPolicy: Retain
|
||
|
EOF
|
||
|
|
||
|
KUBECONFIG=$CAPH_WORKER_CLUSTER_KUBECONFIG helm upgrade --install csi syself/csi-hcloud --version 0.2.0 \
|
||
|
--namespace kube-system -f output/csi-values.yaml
|