feat(argo-rollouts): Added Deployment labels to values.yaml
Signed-off-by: mpeters0n <2matthew.peterson@gmail.com>
This commit is contained in:
parent
85de0a16e7
commit
d1dd1ec5d8
5 changed files with 22 additions and 3 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.6.6
|
appVersion: v1.6.6
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.34.3
|
version: 2.35.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:
|
||||||
|
@ -18,5 +18,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: added
|
||||||
description: Bump argo-rollouts to v1.6.6
|
description: Added Deployment labels
|
||||||
|
|
|
@ -50,6 +50,7 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| extraObjects | list | `[]` | Additional manifests to deploy within the chart. A list of objects. |
|
| extraObjects | list | `[]` | Additional manifests to deploy within the chart. A list of objects. |
|
||||||
| fullnameOverride | string | `nil` | String to fully override "argo-rollouts.fullname" template |
|
| fullnameOverride | string | `nil` | String to fully override "argo-rollouts.fullname" template |
|
||||||
| global.deploymentAnnotations | object | `{}` | Annotations for all deployed Deployments |
|
| global.deploymentAnnotations | object | `{}` | Annotations for all deployed Deployments |
|
||||||
|
| global.deploymentLabels | object | `{}` | Labels for all deployed Deployments |
|
||||||
| imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Registry secret names as an array. |
|
| imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Registry secret names as an array. |
|
||||||
| installCRDs | bool | `true` | Install and upgrade CRDs |
|
| installCRDs | bool | `true` | Install and upgrade CRDs |
|
||||||
| keepCRDs | bool | `true` | Keep CRD's on helm uninstall |
|
| keepCRDs | bool | `true` | Keep CRD's on helm uninstall |
|
||||||
|
@ -82,6 +83,7 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| controller.containerPorts.metrics | int | `8090` | Metrics container port |
|
| controller.containerPorts.metrics | int | `8090` | Metrics container port |
|
||||||
| controller.createClusterRole | bool | `true` | flag to enable creation of cluster controller role (requires cluster RBAC) |
|
| controller.createClusterRole | bool | `true` | flag to enable creation of cluster controller role (requires cluster RBAC) |
|
||||||
| controller.deploymentAnnotations | object | `{}` | Annotations to be added to the controller deployment |
|
| controller.deploymentAnnotations | object | `{}` | Annotations to be added to the controller deployment |
|
||||||
|
| controller.deploymentLabels | object | `{}` | Labels to be added to the controller deployment |
|
||||||
| 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.extraEnv | list | `[]` | Additional environment variables for rollouts-controller. A list of name/value maps. |
|
||||||
|
@ -138,6 +140,7 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| dashboard.containerSecurityContext | object | `{}` | Security Context to set on container level |
|
| dashboard.containerSecurityContext | object | `{}` | Security Context to set on container level |
|
||||||
| dashboard.createClusterRole | bool | `true` | flag to enable creation of dashbord cluster role (requires cluster RBAC) |
|
| dashboard.createClusterRole | bool | `true` | flag to enable creation of dashbord cluster role (requires cluster RBAC) |
|
||||||
| dashboard.deploymentAnnotations | object | `{}` | Annotations to be added to the dashboard deployment |
|
| dashboard.deploymentAnnotations | object | `{}` | Annotations to be added to the dashboard deployment |
|
||||||
|
| dashboard.deploymentLabels | object | `{}` | Labels to be added to the dashboard deployment |
|
||||||
| 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.extraEnv | list | `[]` | Additional environment variables for rollouts-dashboard. A list of name/value maps. |
|
||||||
|
|
|
@ -9,7 +9,12 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ include "argo-rollouts.fullname" . }}
|
name: {{ include "argo-rollouts.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
{{- with (mergeOverwrite (deepCopy .Values.global.deploymentLabels) .Values.controller.deploymentLabels) }}
|
||||||
labels:
|
labels:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
app.kubernetes.io/component: {{ .Values.controller.component }}
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -10,7 +10,12 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ include "argo-rollouts.fullname" . }}-dashboard
|
name: {{ include "argo-rollouts.fullname" . }}-dashboard
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
{{- with (mergeOverwrite (deepCopy .Values.global.deploymentLabels) .Values.dashboard.deploymentLabels) }}
|
||||||
labels:
|
labels:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
app.kubernetes.io/component: {{ .Values.dashboard.component }}
|
app.kubernetes.io/component: {{ .Values.dashboard.component }}
|
||||||
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -41,12 +41,16 @@ extraObjects: []
|
||||||
global:
|
global:
|
||||||
# -- Annotations for all deployed Deployments
|
# -- Annotations for all deployed Deployments
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
|
# -- Labels for all deployed Deployments
|
||||||
|
deploymentLabels: {}
|
||||||
|
|
||||||
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 the controller deployment
|
# -- Annotations to be added to the controller deployment
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
|
# -- Labels to be added to the controller deployment
|
||||||
|
deploymentLabels: {}
|
||||||
# -- Annotations to be added to application controller pods
|
# -- Annotations to be added to application controller pods
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
@ -283,6 +287,8 @@ dashboard:
|
||||||
component: rollouts-dashboard
|
component: rollouts-dashboard
|
||||||
# -- Annotations to be added to the dashboard deployment
|
# -- Annotations to be added to the dashboard deployment
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
|
# -- Labels to be added to the dashboard deployment
|
||||||
|
deploymentLabels: {}
|
||||||
# -- Annotations to be added to application dashboard pods
|
# -- Annotations to be added to application dashboard pods
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
|
Loading…
Reference in a new issue