chart: csi attacher and provisioner replica count became configurable
This commit is contained in:
parent
4195f1c0f4
commit
d5a34b20ad
@ -42,6 +42,20 @@ questions:
|
|||||||
description: "Specify kubelet root-dir. Leave blank to autodetect."
|
description: "Specify kubelet root-dir. Leave blank to autodetect."
|
||||||
type: string
|
type: string
|
||||||
label: Kubelet Root Directory
|
label: Kubelet Root Directory
|
||||||
|
- variable: csi.attacherReplicaCount
|
||||||
|
type: int
|
||||||
|
default:
|
||||||
|
min: 1
|
||||||
|
max: 10
|
||||||
|
description: "Specify number of CSI Attacher replica. By default 3."
|
||||||
|
label: Longhorn CSI Attacher replica count
|
||||||
|
- variable: csi.provisionerReplicaCount
|
||||||
|
type: int
|
||||||
|
default:
|
||||||
|
min: 1
|
||||||
|
max: 10
|
||||||
|
description: "Specify number of CSI Provisioner replica. By default 3."
|
||||||
|
label: Longhorn CSI Provisioner replica count
|
||||||
- variable: persistence.defaultClass
|
- variable: persistence.defaultClass
|
||||||
default: "true"
|
default: "true"
|
||||||
description: "Set as default StorageClass"
|
description: "Set as default StorageClass"
|
||||||
|
@ -62,4 +62,12 @@ spec:
|
|||||||
- name: CSI_DRIVER_REGISTRAR_IMAGE
|
- name: CSI_DRIVER_REGISTRAR_IMAGE
|
||||||
value: {{ .Values.csi.driverRegistrarImage }}
|
value: {{ .Values.csi.driverRegistrarImage }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.csi.attacherReplicaCount }}
|
||||||
|
- name: CSI_ATTACHER_REPLICA_COUNT
|
||||||
|
value: "{{ .Values.csi.attacherReplicaCount }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.csi.provisionerReplicaCount }}
|
||||||
|
- name: CSI_PROVISIONER_REPLICA_COUNT
|
||||||
|
value: "{{ .Values.csi.provisionerReplicaCount }}"
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: longhorn-service-account
|
serviceAccountName: longhorn-service-account
|
||||||
|
@ -33,6 +33,8 @@ csi:
|
|||||||
provisionerImage:
|
provisionerImage:
|
||||||
driverRegistrarImage:
|
driverRegistrarImage:
|
||||||
kubeletRootDir:
|
kubeletRootDir:
|
||||||
|
attacherReplicaCount:
|
||||||
|
provisionerReplicaCount:
|
||||||
|
|
||||||
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