Skip to content

Commit

Permalink
install option for kubeblocks-csi-driver
Browse files Browse the repository at this point in the history
  • Loading branch information
JingchengLi committed Mar 10, 2023
1 parent bb1006b commit 3566708
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions deploy/helm/templates/addons/csi-driver-addon.yaml
Original file line number Diff line number Diff line change
@@ -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" }}
3 changes: 3 additions & 0 deletions deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
##
Expand Down

0 comments on commit 3566708

Please sign in to comment.