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.
  • Loading branch information
gdasson committed Mar 18, 2023
1 parent 6879038 commit 047198d
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 047198d

Please sign in to comment.