Skip to content

Commit 28a46cc

Browse files
author
Christian Baumann
committed
Add option to specify additional containers in helm chart
Signed-off-by: Christian Baumann <thechristschn@gmail.com>
1 parent 6879038 commit 28a46cc

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

charts/flagger/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ The following tables lists the configurable parameters of the Flagger chart and
177177
| `podDisruptionBudget.minAvailable` | The minimal number of available replicas that will be set in the PodDisruptionBudget | `1` |
178178
| `podDisruptionBudget.minAvailable` | The minimal number of available replicas that will be set in the PodDisruptionBudget | `1` |
179179
| `noCrossNamespaceRefs` | If `true`, cross namespace references to custom resources will be disabled | `false` |
180-
| `namespace` | When specified, Flagger will restrict itself to watching Canary objects from that namespace | `""` |
180+
| `additionalContainers` | List of additional containers that will be added to the deployment | `[]` |
181+
| `namespace` | When specified, Flagger will restrict itself to watching Canary objects from that namespace | `""` |
181182

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

charts/flagger/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ spec:
167167
{{- end }}
168168
resources:
169169
{{ toYaml .Values.resources | indent 12 }}
170+
{{- if .Values.additionalContainers }}
171+
{{- toYaml .Values.additionalContainers | nindent 8}}
172+
{{- end }}
170173
{{- with .Values.nodeSelector }}
171174
nodeSelector:
172175
{{ toYaml . | indent 8 }}

charts/flagger/values.yaml

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

179179
noCrossNamespaceRefs: false
180+
181+
additionalContainers: []

0 commit comments

Comments
 (0)