Skip to content
Open
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
6 changes: 6 additions & 0 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ spec:
mountPath: /etc/sentinel/broker.yaml
subPath: broker.yaml
readOnly: true
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 10 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
Expand All @@ -96,6 +99,9 @@ spec:
- name: broker-config
configMap:
name: {{ include "sentinel.fullname" . }}-broker-config
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
10 changes: 10 additions & 0 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ tolerations: []
# Affinity
affinity: {}

# Extra volumes to add to the pod
extraVolumes: []
# - name: example-volume
# emptyDir: {}

# Extra volume mounts to add to the container
extraVolumeMounts: []
# - name: example-volume
# mountPath: /example

# PodDisruptionBudget configuration
# See: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
podDisruptionBudget:
Expand Down