Merge pull request #820 from andyzhangx/enableSnapshotter
feat: add controller.enableSnapshotter chart config
This commit is contained in:
commit
d21d7bb117
Binary file not shown.
@ -110,6 +110,7 @@ spec:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
{{- if .Values.controller.enableSnapshotter }}
|
||||
- name: csi-snapshotter
|
||||
{{- if hasPrefix "/" .Values.image.csiSnapshotter.repository }}
|
||||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}"
|
||||
@ -134,6 +135,7 @@ spec:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
{{- end }}
|
||||
- name: liveness-probe
|
||||
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
|
||||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
|
||||
|
||||
@ -56,6 +56,7 @@ controller:
|
||||
strategyType: Recreate
|
||||
runOnMaster: false
|
||||
runOnControlPlane: false
|
||||
enableSnapshotter: true
|
||||
livenessProbe:
|
||||
healthPort: 29652
|
||||
logLevel: 5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user