forked from argoproj/argo-helm
feat(argo-rollouts): Allow additional containers in controller deployment (#999)
* feat: Allow additional containers in controller deployment Our local metrics setup uses an extra container for the controller deployment. Adding this in case others have a similar use case. Signed-off-by: Brian Johnson <b2jrock@gmail.com> * Apply suggesstions from code review Signed-off-by: Brian Johnson <b2jrock@gmail.com> * Bump minor version Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>main argo-rollouts-2.4.0
parent
b8c689e3c7
commit
5e18356d25
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: "v1.1.0"
|
appVersion: "v1.1.0"
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.3.0
|
version: 2.4.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]: Support for extraArgs for controller and dashboard"
|
- "[Added]: Support for extraContainers for controller deployment"
|
||||||
|
|
|
@ -39,6 +39,7 @@ If dashboard is installed by `--set dashboard.enabled=true`, checkout the argo-r
|
||||||
| controller.image.repository | string | `"argoproj/argo-rollouts"` | Repository to use |
|
| controller.image.repository | string | `"argoproj/argo-rollouts"` | Repository to use |
|
||||||
| controller.image.tag | string | `""` | Overrides the image tag (default is the chart appVersion) |
|
| controller.image.tag | string | `""` | Overrides the image tag (default is the chart appVersion) |
|
||||||
| controller.extraArgs | list | `[]` | Additional arguments for the controller. A list of flags. |
|
| controller.extraArgs | list | `[]` | Additional arguments for the controller. A list of flags. |
|
||||||
|
| controller.extraContainers | list | `[]` | Literal yaml for extra containers to be added to controller deployment. |
|
||||||
| controller.resources | object | `{}` | Resource limits and requests for the controller pods. |
|
| controller.resources | object | `{}` | Resource limits and requests for the controller pods. |
|
||||||
| controller.tolerations | list | `[]` | [Tolerations for use with node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) |
|
| controller.tolerations | list | `[]` | [Tolerations for use with node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) |
|
||||||
| controller.affinity | object | `{}` | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) |
|
| controller.affinity | object | `{}` | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) |
|
||||||
|
|
|
@ -52,6 +52,9 @@ spec:
|
||||||
{{- toYaml .Values.containerSecurityContext | nindent 10 }}
|
{{- toYaml .Values.containerSecurityContext | nindent 10 }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.controller.resources | nindent 10 }}
|
{{- toYaml .Values.controller.resources | nindent 10 }}
|
||||||
|
{{- with .Values.controller.extraContainers }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.controller.nodeSelector }}
|
{{- if .Values.controller.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml .Values.controller.nodeSelector | nindent 8 }}
|
{{- toYaml .Values.controller.nodeSelector | nindent 8 }}
|
||||||
|
|
|
@ -21,6 +21,10 @@ controller:
|
||||||
##
|
##
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
||||||
|
## Additional containers to add to the rollouts controller deployment
|
||||||
|
## This will be rendered as the literal yaml
|
||||||
|
extraContainers: []
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# limits:
|
# limits:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
|
|
Loading…
Reference in New Issue