chart: arg kubelet root-dir became configurable
This commit is contained in:
parent
cac53ad3ba
commit
4195f1c0f4
@ -37,6 +37,11 @@ questions:
|
|||||||
description: "Specify CSI Driver Registrar image. Leave blank to autodetect."
|
description: "Specify CSI Driver Registrar image. Leave blank to autodetect."
|
||||||
type: string
|
type: string
|
||||||
label: Longhorn CSI Driver Registrar Image
|
label: Longhorn CSI Driver Registrar Image
|
||||||
|
- variable: csi.kubeletRootDir
|
||||||
|
default:
|
||||||
|
description: "Specify kubelet root-dir. Leave blank to autodetect."
|
||||||
|
type: string
|
||||||
|
label: Kubelet Root Directory
|
||||||
- variable: persistence.defaultClass
|
- variable: persistence.defaultClass
|
||||||
default: "true"
|
default: "true"
|
||||||
description: "Set as default StorageClass"
|
description: "Set as default StorageClass"
|
||||||
|
@ -46,6 +46,10 @@ spec:
|
|||||||
fieldPath: spec.serviceAccountName
|
fieldPath: spec.serviceAccountName
|
||||||
- name: FLEXVOLUME_DIR
|
- name: FLEXVOLUME_DIR
|
||||||
value: {{ .Values.persistence.flexvolumePath }}
|
value: {{ .Values.persistence.flexvolumePath }}
|
||||||
|
{{- if .Values.csi.kubeletRootDir }}
|
||||||
|
- name: KUBELET_ROOT_DIR
|
||||||
|
value: {{ .Values.csi.kubeletRootDir }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.csi.attacherImage }}
|
{{- if .Values.csi.attacherImage }}
|
||||||
- name: CSI_ATTACHER_IMAGE
|
- name: CSI_ATTACHER_IMAGE
|
||||||
value: {{ .Values.csi.attacherImage }}
|
value: {{ .Values.csi.attacherImage }}
|
||||||
|
@ -32,6 +32,7 @@ csi:
|
|||||||
attacherImage:
|
attacherImage:
|
||||||
provisionerImage:
|
provisionerImage:
|
||||||
driverRegistrarImage:
|
driverRegistrarImage:
|
||||||
|
kubeletRootDir:
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
Loading…
Reference in New Issue
Block a user