Skip to content

Commit 047198d

Browse files
committed
Added the option to supply additional
volumes to the flagger pod.
1 parent 6879038 commit 047198d

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

charts/flagger/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ spec:
5050
secret:
5151
secretName: "{{ .Values.controlplane.kubeconfig.secretName }}"
5252
{{- end }}
53+
{{- if .Values.additionalVolumes }}
54+
{{- toYaml .Values.additionalVolumes | nindent 8 -}}
55+
{{- end }}
5356
{{- if .Values.podPriorityClassName }}
5457
priorityClassName: {{ .Values.podPriorityClassName }}
5558
{{- end }}

charts/flagger/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,8 @@ podDisruptionBudget:
177177
podLabels: {}
178178

179179
noCrossNamespaceRefs: false
180+
181+
#Placeholder to supply additional volumes to the flagger pod
182+
additionalVolumes: {}
183+
# - name: tmpfs
184+
# emptyDir: {}

0 commit comments

Comments
 (0)