Skip to content

Commit

Permalink
Added the option to supply additional
Browse files Browse the repository at this point in the history
volumes to the flagger pod.

Signed-off-by: Gaurav Dasson <[email protected]>
  • Loading branch information
gdasson authored and aryan9600 committed Apr 6, 2023
1 parent cf267d0 commit 2ced721
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/flagger/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ spec:
secret:
secretName: "{{ .Values.controlplane.kubeconfig.secretName }}"
{{- end }}
{{- if .Values.additionalVolumes }}
{{- toYaml .Values.additionalVolumes | nindent 8 -}}
{{- end }}
{{- if .Values.podPriorityClassName }}
priorityClassName: {{ .Values.podPriorityClassName }}
{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions charts/flagger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,8 @@ podDisruptionBudget:
podLabels: {}

noCrossNamespaceRefs: false

#Placeholder to supply additional volumes to the flagger pod
additionalVolumes: {}
# - name: tmpfs
# emptyDir: {}

0 comments on commit 2ced721

Please sign in to comment.