feat(argo-rollouts): support setting pod annotations separately on controller and dashboard (#1928)
This commit is contained in:
parent
d34a376568
commit
af90fd665f
5 changed files with 18 additions and 10 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.4.1
|
appVersion: v1.4.1
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.22.3
|
version: 2.23.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -15,7 +15,5 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
|
||||||
description: Upgrade Argo Rollouts to v.1.4.1
|
|
||||||
- kind: added
|
- kind: added
|
||||||
description: Put Changelog URL on README.md
|
description: Added the ability to set pod annotations separately on controller and dashboard deployment
|
||||||
|
|
|
@ -95,13 +95,14 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| controller.pdb.labels | object | `{}` | Labels to be added to controller [Pod Disruption Budget] |
|
| controller.pdb.labels | object | `{}` | Labels to be added to controller [Pod Disruption Budget] |
|
||||||
| controller.pdb.maxUnavailable | string | `nil` | Maximum number / percentage of pods that may be made unavailable |
|
| 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.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.priorityClassName | string | `""` | [priorityClassName] for the controller |
|
| controller.priorityClassName | string | `""` | [priorityClassName] for the controller |
|
||||||
| controller.readinessProbe | object | See [values.yaml] | Configure readiness [probe] 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 |
|
| controller.replicas | int | `2` | The number of controller pods to run |
|
||||||
| 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 |
|
| controller.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
||||||
| controller.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the controller |
|
| controller.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the controller |
|
||||||
| podAnnotations | object | `{}` | Annotations to be added to the Rollout pods |
|
| podAnnotations | object | `{}` | Annotations for the all deployed pods |
|
||||||
| podLabels | object | `{}` | Labels to be added to the Rollout pods |
|
| podLabels | object | `{}` | Labels to be added to the Rollout pods |
|
||||||
| podSecurityContext | object | `{"runAsNonRoot":true}` | Security Context to set on pod level |
|
| podSecurityContext | object | `{"runAsNonRoot":true}` | Security Context to set on pod level |
|
||||||
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
|
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
|
||||||
|
@ -139,6 +140,7 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| dashboard.pdb.labels | object | `{}` | Labels to be added to dashboard [Pod Disruption Budget] |
|
| dashboard.pdb.labels | object | `{}` | Labels to be added to dashboard [Pod Disruption Budget] |
|
||||||
| dashboard.pdb.maxUnavailable | string | `nil` | Maximum number / percentage of pods that may be made unavailable |
|
| 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.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.podSecurityContext | object | `{"runAsNonRoot":true}` | Security Context to set on pod level |
|
| dashboard.podSecurityContext | object | `{"runAsNonRoot":true}` | Security Context to set on pod level |
|
||||||
| dashboard.priorityClassName | string | `""` | [priorityClassName] for the dashboard server |
|
| dashboard.priorityClassName | string | `""` | [priorityClassName] for the dashboard server |
|
||||||
| dashboard.readonly | bool | `false` | Set cluster role to readonly |
|
| dashboard.readonly | bool | `false` | Set cluster role to readonly |
|
||||||
|
|
|
@ -15,9 +15,11 @@ spec:
|
||||||
replicas: {{ .Values.controller.replicas }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with .Values.podAnnotations }}
|
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-rollouts.selectorLabels" . | nindent 8 }}
|
{{- include "argo-rollouts.selectorLabels" . | nindent 8 }}
|
||||||
|
|
|
@ -16,9 +16,11 @@ spec:
|
||||||
replicas: {{ .Values.dashboard.replicas }}
|
replicas: {{ .Values.dashboard.replicas }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with .Values.podAnnotations }}
|
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.dashboard.podAnnotations) }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-rollouts.selectorLabels" . | nindent 8 }}
|
{{- include "argo-rollouts.selectorLabels" . | nindent 8 }}
|
||||||
|
|
|
@ -41,6 +41,8 @@ extraObjects: []
|
||||||
controller:
|
controller:
|
||||||
# -- Value of label `app.kubernetes.io/component`
|
# -- Value of label `app.kubernetes.io/component`
|
||||||
component: rollouts-controller
|
component: rollouts-controller
|
||||||
|
# -- Annotations to be added to application controller pods
|
||||||
|
podAnnotations: {}
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
@ -164,7 +166,7 @@ serviceAccount:
|
||||||
# -- Annotations to be added to all CRDs
|
# -- Annotations to be added to all CRDs
|
||||||
crdAnnotations: {}
|
crdAnnotations: {}
|
||||||
|
|
||||||
# -- Annotations to be added to the Rollout pods
|
# -- Annotations for the all deployed pods
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
# -- Security Context to set on pod level
|
# -- Security Context to set on pod level
|
||||||
|
@ -217,6 +219,8 @@ dashboard:
|
||||||
readonly: false
|
readonly: false
|
||||||
# -- Value of label `app.kubernetes.io/component`
|
# -- Value of label `app.kubernetes.io/component`
|
||||||
component: rollouts-dashboard
|
component: rollouts-dashboard
|
||||||
|
# -- Annotations to be added to application dashboard pods
|
||||||
|
podAnnotations: {}
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
|
Loading…
Reference in a new issue