KubeZero/charts/kubezero-storage/lvm.patch

21 lines
1.4 KiB
Diff

diff -tuNr charts/lvm-localpv.orig/templates/lvm-controller.yaml charts/lvm-localpv/templates/lvm-controller.yaml
--- charts/lvm-localpv.orig/templates/lvm-controller.yaml 2022-01-11 13:47:28.717133358 +0100
+++ charts/lvm-localpv/templates/lvm-controller.yaml 2022-01-11 13:49:49.160473040 +0100
@@ -72,16 +72,6 @@
mountPath: /var/lib/csi/sockets/pluginproxy/
resources:
{{- toYaml .Values.lvmController.resources | nindent 12 }}
- - name: {{ .Values.lvmController.snapshotController.name }}
- image: "{{ .Values.lvmController.snapshotController.image.registry }}{{ .Values.lvmController.snapshotController.image.repository }}:{{ .Values.lvmController.snapshotController.image.tag }}"
- args:
- - "--v={{ .Values.lvmController.logLevel }}"
- {{- if gt (int .Values.lvmController.replicas) 1 }}
- - "--leader-election=true"
- {{- end }}
- imagePullPolicy: {{ .Values.lvmController.snapshotController.image.pullPolicy }}
- resources:
- {{- toYaml .Values.lvmController.resources | nindent 12 }}
- name: {{ .Values.lvmController.provisioner.name }}
image: "{{ .Values.lvmController.provisioner.image.registry }}{{ .Values.lvmController.provisioner.image.repository }}:{{ .Values.lvmController.provisioner.image.tag }}"
imagePullPolicy: {{ .Values.lvmController.provisioner.image.pullPolicy }}