Merge pull request #490 from andyzhangx/enable-snapshot-sidecar

fix: always enable snapshot sidecar container in controller
This commit is contained in:
Kubernetes Prow Robot 2023-07-20 12:42:10 -07:00 committed by GitHub
commit e68919a599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -66,7 +66,6 @@ spec:
resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }} resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
securityContext: securityContext:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
{{- if .Values.externalSnapshotter.enabled }}
- name: csi-snapshotter - name: csi-snapshotter
image: "{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}" image: "{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}"
args: args:
@ -82,7 +81,6 @@ spec:
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /csi mountPath: /csi
{{- end }}
- name: liveness-probe - name: liveness-probe
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}" image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
args: args: