clank-bootstrapper/clusterapi/add-csi.sh

16 lines
325 B
Bash
Raw Normal View History

2022-12-10 22:08:07 +01:00
#!/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