Skip to content

Commit 6636de9

Browse files
committed
feat: add additional containers to flagger deployment
Signed-off-by: kkkdeon <gad03149@naver.com>
1 parent 27daa2c commit 6636de9

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

charts/flagger/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ The following tables lists the configurable parameters of the Flagger chart and
197197
| `namespace` | When specified, Flagger will restrict itself to watching Canary objects from that namespace | `""` |
198198
| `deploymentLabels` | Labels to add to Flagger deployment | `{}` |
199199
| `podLabels` | Labels to add to pods of Flagger deployment | `{}` |
200+
| `additionalContainers` | List of additional containers to add to Flagger deployment | `[]` |
201+
200202

201203
Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade`. For example,
202204

charts/flagger/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ spec:
179179
{{- end }}
180180
resources:
181181
{{ toYaml .Values.resources | indent 12 }}
182+
{{- if .Values.additionalContainers }}
183+
{{- toYaml .Values.additionalContainers | nindent 8 }}
184+
{{- end }}
182185
{{- with .Values.nodeSelector }}
183186
nodeSelector:
184187
{{ toYaml . | indent 8 }}

charts/flagger/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ resources:
152152
memory: "32Mi"
153153
cpu: "10m"
154154

155+
additionalContainers: []
156+
155157
nodeSelector: {}
156158

157159
tolerations: []

0 commit comments

Comments
 (0)