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: capabilities:
drop: drop:
- ALL - ALL
{{- if .Values.controller.enableSnapshotter }}
- name: csi-snapshotter - name: csi-snapshotter
{{- if hasPrefix "/" .Values.image.csiSnapshotter.repository }} {{- if hasPrefix "/" .Values.image.csiSnapshotter.repository }}
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}" image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}"
@ -134,6 +135,7 @@ spec:
capabilities: capabilities:
drop: drop:
- ALL - ALL
{{- end }}
- name: liveness-probe - name: liveness-probe
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }} {{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}" image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"

View File

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