feat(argo-rollouts) Add controller.extraEnv (#1333)
* feat(argo-rollouts) Add controller.extraEnv Ability to specify environment variables for rollouts-controller from values.yaml Signed-off-by: Ben Hayden <hayden767@gmail.com> * Also implement extraEnv for dashboard component Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Reword changelog line Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
7c21bec7f5
commit
cd65701281
5 changed files with 22 additions and 3 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: "v1.2.0"
|
appVersion: "v1.2.0"
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.16.0
|
version: 2.17.0
|
||||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
@ -11,4 +11,4 @@ maintainers:
|
||||||
- name: jessesuen
|
- name: jessesuen
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Argo rollouts dashboard cluster role readonly flags"
|
- "[Added]: Ability to inject custom environment variables"
|
||||||
|
|
|
@ -63,6 +63,7 @@ If dashboard is installed by `--set dashboard.enabled=true`, checkout the argo-r
|
||||||
| controller.component | string | `"rollouts-controller"` | Value of label `app.kubernetes.io/component` |
|
| controller.component | string | `"rollouts-controller"` | Value of label `app.kubernetes.io/component` |
|
||||||
| controller.extraArgs | list | `[]` | Additional command line arguments to pass to rollouts-controller. A list of flags. |
|
| controller.extraArgs | list | `[]` | Additional command line arguments to pass to rollouts-controller. A list of flags. |
|
||||||
| controller.extraContainers | list | `[]` | Literal yaml for extra containers to be added to controller deployment. |
|
| controller.extraContainers | list | `[]` | Literal yaml for extra containers to be added to controller deployment. |
|
||||||
|
| controller.extraEnv | list | `[]` | Additional environment variables for rollouts-controller. A list of name/value maps. |
|
||||||
| controller.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
| controller.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||||
| controller.image.registry | string | `"quay.io"` | Registry to use |
|
| controller.image.registry | string | `"quay.io"` | Registry to use |
|
||||||
| controller.image.repository | string | `"argoproj/argo-rollouts"` | Repository to use |
|
| controller.image.repository | string | `"argoproj/argo-rollouts"` | Repository to use |
|
||||||
|
@ -100,6 +101,7 @@ If dashboard is installed by `--set dashboard.enabled=true`, checkout the argo-r
|
||||||
| dashboard.containerSecurityContext | object | `{}` | Security Context to set on container level |
|
| dashboard.containerSecurityContext | object | `{}` | Security Context to set on container level |
|
||||||
| dashboard.enabled | bool | `false` | Deploy dashboard server |
|
| dashboard.enabled | bool | `false` | Deploy dashboard server |
|
||||||
| dashboard.extraArgs | list | `[]` | Additional command line arguments to pass to rollouts-dashboard. A list of flags. |
|
| dashboard.extraArgs | list | `[]` | Additional command line arguments to pass to rollouts-dashboard. A list of flags. |
|
||||||
|
| dashboard.extraEnv | list | `[]` | Additional environment variables for rollouts-dashboard. A list of name/value maps. |
|
||||||
| dashboard.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
| dashboard.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||||
| dashboard.image.registry | string | `"quay.io"` | Registry to use |
|
| dashboard.image.registry | string | `"quay.io"` | Registry to use |
|
||||||
| dashboard.image.repository | string | `"argoproj/kubectl-argo-rollouts"` | Repository to use |
|
| dashboard.image.repository | string | `"argoproj/kubectl-argo-rollouts"` | Repository to use |
|
||||||
|
@ -169,4 +171,4 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
|
||||||
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||||
[priorityClassName]: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
|
[priorityClassName]: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
|
||||||
[Pod Disruption Budget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
|
[Pod Disruption Budget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
|
||||||
[values.yaml]: https://github.com/argoproj/argo-helm/blob/argo-rollouts-2.16.0/charts/argo-rollouts/values.yaml
|
[values.yaml]: https://github.com/argoproj/argo-helm/blob/argo-rollouts-2.17.0/charts/argo-rollouts/values.yaml
|
||||||
|
|
|
@ -43,6 +43,10 @@ spec:
|
||||||
{{- with .Values.controller.extraArgs }}
|
{{- with .Values.controller.extraArgs }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.controller.extraEnv }}
|
||||||
|
env:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -39,6 +39,10 @@ spec:
|
||||||
{{- with .Values.dashboard.extraArgs }}
|
{{- with .Values.dashboard.extraArgs }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.dashboard.extraEnv }}
|
||||||
|
env:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
name: argo-rollouts-dashboard
|
name: argo-rollouts-dashboard
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.dashboard.service.targetPort }}
|
- containerPort: {{ .Values.dashboard.service.targetPort }}
|
||||||
|
|
|
@ -48,6 +48,11 @@ controller:
|
||||||
# -- Additional command line arguments to pass to rollouts-controller. A list of flags.
|
# -- Additional command line arguments to pass to rollouts-controller. A list of flags.
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
||||||
|
# -- Additional environment variables for rollouts-controller. A list of name/value maps.
|
||||||
|
extraEnv: []
|
||||||
|
# - name: AWS_REGION
|
||||||
|
# value: us-east-1
|
||||||
|
|
||||||
# -- Literal yaml for extra containers to be added to controller deployment.
|
# -- Literal yaml for extra containers to be added to controller deployment.
|
||||||
## Additional containers to add to the rollouts controller deployment
|
## Additional containers to add to the rollouts controller deployment
|
||||||
## This will be rendered as the literal yaml
|
## This will be rendered as the literal yaml
|
||||||
|
@ -176,6 +181,10 @@ dashboard:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# -- Additional command line arguments to pass to rollouts-dashboard. A list of flags.
|
# -- Additional command line arguments to pass to rollouts-dashboard. A list of flags.
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
# -- Additional environment variables for rollouts-dashboard. A list of name/value maps.
|
||||||
|
extraEnv: []
|
||||||
|
# - name: FOO
|
||||||
|
# value: bar
|
||||||
# -- Resource limits and requests for the dashboard pods.
|
# -- Resource limits and requests for the dashboard pods.
|
||||||
resources: {}
|
resources: {}
|
||||||
# -- Security Context to set on pod level
|
# -- Security Context to set on pod level
|
||||||
|
|
Loading…
Reference in a new issue