feat(argo-rollouts): Add podLabels at the controller & dashboard level (#2678)
This commit is contained in:
parent
35bc505bec
commit
0882bfcbd6
5 changed files with 10 additions and 4 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
appVersion: v1.6.6
|
||||
description: A Helm chart for Argo Rollouts
|
||||
name: argo-rollouts
|
||||
version: 2.35.1
|
||||
version: 2.35.2
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||
keywords:
|
||||
|
@ -19,4 +19,4 @@ annotations:
|
|||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||
artifacthub.io/changes: |
|
||||
- kind: added
|
||||
description: Allow minimum set of RBAC rules for Gateway API resources
|
||||
description: Added pod labels for the controller and the dashboard components
|
||||
|
|
|
@ -116,6 +116,7 @@ For full list of changes please check ArtifactHub [changelog].
|
|||
| controller.pdb.maxUnavailable | string | `nil` | Maximum number / percentage of pods that may be made unavailable |
|
||||
| controller.pdb.minAvailable | string | `nil` | Minimum number / percentage of pods that should remain scheduled |
|
||||
| controller.podAnnotations | object | `{}` | Annotations to be added to application controller pods |
|
||||
| controller.podLabels | object | `{}` | Labels to be added to the application controller pods |
|
||||
| controller.priorityClassName | string | `""` | [priorityClassName] for the controller |
|
||||
| controller.readinessProbe | object | See [values.yaml] | Configure readiness [probe] for the controller |
|
||||
| controller.replicas | int | `2` | The number of controller pods to run |
|
||||
|
@ -168,6 +169,7 @@ For full list of changes please check ArtifactHub [changelog].
|
|||
| dashboard.pdb.maxUnavailable | string | `nil` | Maximum number / percentage of pods that may be made unavailable |
|
||||
| dashboard.pdb.minAvailable | string | `nil` | Minimum number / percentage of pods that should remain scheduled |
|
||||
| dashboard.podAnnotations | object | `{}` | Annotations to be added to application dashboard pods |
|
||||
| dashboard.podLabels | object | `{}` | Labels to be added to the application dashboard pods |
|
||||
| dashboard.podSecurityContext | object | `{"runAsNonRoot":true}` | Security Context to set on pod level |
|
||||
| dashboard.priorityClassName | string | `""` | [priorityClassName] for the dashboard server |
|
||||
| dashboard.readonly | bool | `false` | Set cluster role to readonly |
|
||||
|
|
|
@ -34,7 +34,7 @@ spec:
|
|||
labels:
|
||||
{{- include "argo-rollouts.selectorLabels" . | nindent 8 }}
|
||||
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||
{{- range $key, $value := .Values.podLabels }}
|
||||
{{- range $key, $value := (mergeOverwrite (deepCopy .Values.podLabels) .Values.controller.podLabels) }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
|
|
@ -35,7 +35,7 @@ spec:
|
|||
labels:
|
||||
{{- include "argo-rollouts.selectorLabels" . | nindent 8 }}
|
||||
app.kubernetes.io/component: {{ .Values.dashboard.component }}
|
||||
{{- range $key, $value := .Values.podLabels }}
|
||||
{{- range $key, $value := (mergeOverwrite (deepCopy .Values.podLabels) .Values.dashboard.podLabels) }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
|
|
@ -53,6 +53,8 @@ controller:
|
|||
deploymentLabels: {}
|
||||
# -- Annotations to be added to application controller pods
|
||||
podAnnotations: {}
|
||||
# -- Labels to be added to the application controller pods
|
||||
podLabels: {}
|
||||
# -- [Node selector]
|
||||
nodeSelector: {}
|
||||
# -- [Tolerations] for use with node taints
|
||||
|
@ -295,6 +297,8 @@ dashboard:
|
|||
deploymentLabels: {}
|
||||
# -- Annotations to be added to application dashboard pods
|
||||
podAnnotations: {}
|
||||
# -- Labels to be added to the application dashboard pods
|
||||
podLabels: {}
|
||||
# -- [Node selector]
|
||||
nodeSelector: {}
|
||||
# -- [Tolerations] for use with node taints
|
||||
|
|
Loading…
Reference in a new issue