Skip to content

Commit

Permalink
feat(helm): Add extraVolumes and extraVolumeMounts options
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikkaminski committed Jan 21, 2025
1 parent 28de2b0 commit 5823080
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 6 additions & 2 deletions kubernetes/helm/collabora-online/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ spec:
mountPath: /etc/coolwsd/proof_key.pub
subPath: proof_key.pub
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{- .Values.extraVolumeMounts | nindent 12 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand All @@ -153,6 +156,7 @@ spec:
secret:
secretName: {{ .Values.collabora.proofKeysSecretRef | quote }}
{{- end }}


{{- if .Values.extraVolumes }}
{{- .Values.extraVolumes | nindent 8 }}
{{- end }}
{{- end }}
6 changes: 6 additions & 0 deletions kubernetes/helm/collabora-online/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,9 @@ nodeSelector: {}
tolerations: []

affinity: {}

# Optionally specify an extra list of additional volumes.
extraVolumes: []

# Optionally specify an extra list of additional volumeMounts.
extraVolumeMounts: []

0 comments on commit 5823080

Please sign in to comment.