Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ spec:
securityContext: {{ toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "cvmfs-csi.serviceAccountName.controllerplugin" . }}
{{- if .Values.controllerplugin.extraInitContainers }}
initContainers:
{{- with .Values.controllerplugin.extraInitContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
containers:
- name: provisioner
image: {{ .Values.controllerplugin.provisioner.image.repository }}:{{ .Values.controllerplugin.provisioner.image.tag }}
Expand Down Expand Up @@ -57,6 +63,9 @@ spec:
{{- with .Values.controllerplugin.plugin.resources }}
resources: {{ toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.controllerplugin.extraContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: socket-dir
emptyDir: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ spec:
{{- if .Values.nodeplugin.serviceAccount.use }}
serviceAccountName: {{ include "cvmfs-csi.serviceAccountName.nodeplugin" . }}
{{- end }}
{{- if .Values.nodeplugin.extraInitContainers }}
initContainers:
{{- with .Values.nodeplugin.extraInitContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
containers:
- name: registrar
image: {{ .Values.nodeplugin.registrar.image.repository }}:{{ .Values.nodeplugin.registrar.image.tag }}
Expand Down Expand Up @@ -212,6 +218,9 @@ spec:
readOnly: true
{{- end }}
{{- end }}
{{- with .Values.nodeplugin.extraContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: socket-dir
hostPath:
Expand Down
12 changes: 12 additions & 0 deletions deployments/helm/cvmfs-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ nodeplugin:
configMap:
name: cvmfs-csi-default-d

# Extra containers to be appended to nodeplugin's Pod.spec.containers.
extraContainers: []

# Extra containers to be appended to nodeplugin's Pod.spec.initContainers.
extraInitContainers: []

# CVMFS CSI image and container resources specs.
plugin:
image:
Expand Down Expand Up @@ -256,6 +262,12 @@ controllerplugin:

extraVolumes: []

# Extra containers to be appended to controllerPlugin's Pod.spec.containers.
extraContainers: []

# Extra containers to be appended to controllerPlugin's Pod.spec.initContainers.
extraInitContainers: []

# CVMFS CSI image and container resources specs.
plugin:
image:
Expand Down
Loading