feat(argo-cd): Make labels for repoServer and notification service accounts configurable (#1527)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
parent
1297678c76
commit
fbaa2ef19b
5 changed files with 15 additions and 3 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v2.4.14
|
appVersion: v2.4.14
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.5.14
|
version: 5.5.15
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -22,4 +22,4 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Fixed]: Incorrectly placed timeout.reconciliation and timeout.hard.reconciliation"
|
- "[Added]: Make labels for repoServer and notification service accounts configurable"
|
||||||
|
|
|
@ -535,6 +535,7 @@ NAME: my-release
|
||||||
| repoServer.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
| repoServer.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
||||||
| repoServer.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
| repoServer.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
||||||
| repoServer.serviceAccount.create | bool | `true` | Create repo server service account |
|
| repoServer.serviceAccount.create | bool | `true` | Create repo server service account |
|
||||||
|
| repoServer.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| repoServer.serviceAccount.name | string | `""` | Repo server service account name |
|
| repoServer.serviceAccount.name | string | `""` | Repo server service account name |
|
||||||
| repoServer.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| repoServer.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
||||||
| repoServer.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the repo server |
|
| repoServer.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the repo server |
|
||||||
|
@ -983,6 +984,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.securityContext | object | `{"runAsNonRoot":true}` | Pod Security Context |
|
| notifications.securityContext | object | `{"runAsNonRoot":true}` | Pod Security Context |
|
||||||
| notifications.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
| notifications.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
||||||
| notifications.serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
|
| notifications.serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
|
||||||
|
| notifications.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| notifications.serviceAccount.name | string | `"argocd-notifications-controller"` | The name of the service account to use. |
|
| notifications.serviceAccount.name | string | `"argocd-notifications-controller"` | The name of the service account to use. |
|
||||||
| notifications.subscriptions | list | `[]` | Contains centrally managed global application subscriptions |
|
| notifications.subscriptions | list | `[]` | Contains centrally managed global application subscriptions |
|
||||||
| notifications.templates | object | `{}` | The notification template is used to generate the notification content |
|
| notifications.templates | object | `{}` | The notification template is used to generate the notification content |
|
||||||
|
|
|
@ -12,4 +12,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
|
{{- range $key, $value := .Values.notifications.serviceAccount.labels }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -12,4 +12,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
{{- end }}
|
{{- range $key, $value := .Values.repoServer.serviceAccount.labels }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -1921,6 +1921,8 @@ repoServer:
|
||||||
name: "" # "argocd-repo-server"
|
name: "" # "argocd-repo-server"
|
||||||
# -- Annotations applied to created service account
|
# -- Annotations applied to created service account
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
# -- Labels applied to created service account
|
||||||
|
labels: {}
|
||||||
# -- Automount API credentials for the Service Account
|
# -- Automount API credentials for the Service Account
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
|
|
||||||
|
@ -2364,6 +2366,8 @@ notifications:
|
||||||
# -- Annotations applied to created service account
|
# -- Annotations applied to created service account
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
|
# -- Labels applied to created service account
|
||||||
|
labels: {}
|
||||||
cm:
|
cm:
|
||||||
# -- Whether helm chart creates controller config map
|
# -- Whether helm chart creates controller config map
|
||||||
create: true
|
create: true
|
||||||
|
|
Loading…
Reference in a new issue