github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/helm/templates/addons/csi-hostpath-driver-addon.yaml (about) 1 apiVersion: extensions.kubeblocks.io/v1alpha1 2 kind: Addon 3 metadata: 4 name: csi-hostpath-driver 5 labels: 6 {{- include "kubeblocks.labels" . | nindent 4 }} 7 "kubeblocks.io/provider": community 8 {{- if .Values.keepAddons }} 9 annotations: 10 helm.sh/resource-policy: keep 11 {{- end }} 12 spec: 13 description: Container Storage Interface (CSI) driver for HostPath volumes 14 type: Helm 15 16 helm: 17 {{- include "kubeblocks.addonChartLocationURL" ( dict "name" "csi-hostpath-driver" "version" (default .Chart.Version .Values.versionOverride) "values" .Values) | indent 4 }} 18 {{- include "kubeblocks.addonChartsImage" . | indent 4 }} 19 20 installOptions: 21 {{- if hasPrefix "oci://" .Values.addonChartLocationBase }} 22 version: {{ default .Chart.Version .Values.versionOverride }} 23 {{- end }} 24 25 installValues: 26 configMapRefs: 27 - name: csi-hostpath-driver-chart-kubeblocks-values 28 key: values-kubeblocks-override.yaml 29 30 valuesMapping: 31 jsonMap: 32 tolerations: tolerations 33 34 defaultInstallValues: 35 - enabled: true 36 {{- with .Values.tolerations }} 37 tolerations: {{ toJson . | quote }} 38 {{- end }} 39 40 installable: 41 autoInstall: {{ get ( get ( .Values | toYaml | fromYaml ) "csi-hostpath-driver" ) "enabled" }} 42 selectors: 43 - key: KubeGitVersion 44 operator: DoesNotContain 45 values: 46 - eks 47 - aliyun 48 - gke 49 - tke 50 - aks