diff --git a/charts/coralogix-operator/templates/deployment.yaml b/charts/coralogix-operator/templates/deployment.yaml index 2f9eb676..c0e1965a 100644 --- a/charts/coralogix-operator/templates/deployment.yaml +++ b/charts/coralogix-operator/templates/deployment.yaml @@ -29,6 +29,10 @@ spec: serviceAccountName: {{ include "coralogixOperator.serviceAccountName" . }} securityContext: {{- toYaml .Values.securityContext | nindent 8 }} + {{- with .Values.volumes }} + volumes: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.affinity }} affinity: {{- toYaml . | nindent 8 }} @@ -80,3 +84,7 @@ spec: {{- toYaml .Values.coralogixOperator.resources | nindent 12 }} securityContext: {{- toYaml .Values.coralogixOperator.securityContext | nindent 12 }} + {{- with .Values.volumeMounts }} + volumeMounts: + {{- toYaml . | nindent 12 }} + {{- end }} diff --git a/charts/coralogix-operator/values.yaml b/charts/coralogix-operator/values.yaml index 4854e0aa..47f6ab8c 100644 --- a/charts/coralogix-operator/values.yaml +++ b/charts/coralogix-operator/values.yaml @@ -64,6 +64,12 @@ securityContext: seccompProfile: type: RuntimeDefault +# -- Additional volumes on the output Deployment definition. +volumes: [] + +# -- Additional volumeMounts on the output Deployment definition. +volumeMounts: [] + # -- Define which Nodes the Pods are scheduled on. # -- ref: https://kubernetes.io/docs/user-guide/node-selection/ nodeSelector: {}