diff --git a/deploy/helm/templates/addons/csi-driver-addon.yaml b/deploy/helm/templates/addons/csi-driver-addon.yaml new file mode 100644 index 000000000..7770eeb8f --- /dev/null +++ b/deploy/helm/templates/addons/csi-driver-addon.yaml @@ -0,0 +1,19 @@ +apiVersion: extensions.kubeblocks.io/v1alpha1 +kind: Addon +metadata: + name: kubeblocks-csi-driver + labels: + {{- include "kubeblocks.labels" . | nindent 4 }} +spec: + description: 'Kubeblocks CSI driver provides a container storage interface used by Container Orchestrators + to manage the lifecycle of block storage for cloud vendors.' + type: Helm + + helm: + chartLocationURL: https://github.com/apecloud/helm-charts/releases/download/kubeblocks-csi-driver-{{ default .Chart.AppVersion .Values.appVersionOverride }}/kubeblocks-csi-driver-{{ default .Chart.AppVersion .Values.appVersionOverride }}.tgz + + defaultInstallValues: + - enabled: false + + installable: + autoInstall: {{ get ( get ( .Values | toYaml | fromYaml ) "kubeblocks-csi-driver" ) "enabled" }} diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 1b8034afe..726dd15a9 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -1541,6 +1541,9 @@ snapshot-controller: values: - "true" +kubeblocks-csi-driver: + enabled: false + ## csi-s3 settings ## ref: https://artifacthub.io/packages/helm/cloudve/csi-s3#configuration ##