diff --git a/charts/flagger/README.md b/charts/flagger/README.md index 1274b7a97..b49f2b196 100644 --- a/charts/flagger/README.md +++ b/charts/flagger/README.md @@ -177,7 +177,8 @@ The following tables lists the configurable parameters of the Flagger chart and | `podDisruptionBudget.minAvailable` | The minimal number of available replicas that will be set in the PodDisruptionBudget | `1` | | `podDisruptionBudget.minAvailable` | The minimal number of available replicas that will be set in the PodDisruptionBudget | `1` | | `noCrossNamespaceRefs` | If `true`, cross namespace references to custom resources will be disabled | `false` | -| `namespace` | When specified, Flagger will restrict itself to watching Canary objects from that namespace | `""` | +| `additionalContainers` | List of additional containers that will be added to the deployment | `[]` | +| `namespace` | When specified, Flagger will restrict itself to watching Canary objects from that namespace | `""` | Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade`. For example, diff --git a/charts/flagger/templates/deployment.yaml b/charts/flagger/templates/deployment.yaml index a9f3810e6..208c03d33 100644 --- a/charts/flagger/templates/deployment.yaml +++ b/charts/flagger/templates/deployment.yaml @@ -167,6 +167,9 @@ spec: {{- end }} resources: {{ toYaml .Values.resources | indent 12 }} + {{- if .Values.additionalContainers }} + {{- toYaml .Values.additionalContainers | nindent 8}} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} diff --git a/charts/flagger/values.yaml b/charts/flagger/values.yaml index 47da2c77f..7f9ec7e5d 100644 --- a/charts/flagger/values.yaml +++ b/charts/flagger/values.yaml @@ -177,3 +177,5 @@ podDisruptionBudget: podLabels: {} noCrossNamespaceRefs: false + +additionalContainers: []