Merge pull request #820 from andyzhangx/enableSnapshotter

feat: add controller.enableSnapshotter chart config
This commit is contained in:
Andy Zhang 2024-12-15 21:36:09 +08:00 committed by GitHub
commit d21d7bb117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View File

@ -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 }}"

View File

@ -56,6 +56,7 @@ controller:
strategyType: Recreate
runOnMaster: false
runOnControlPlane: false
enableSnapshotter: true
livenessProbe:
healthPort: 29652
logLevel: 5