argocd-helm/charts/argo-cd/templates/argocd-commit-server/serviceaccount.yaml
Marco Maurer (-Kilchhofer) c77cb712e0
feat(argo-cd): Update to Argo CD 2.14 (#3155)
* feat(argo-cd): Update to Argo CD 2.14

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* fix: Add more customization options to commit-server

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* fix: Bump appVersion to v2.14.1

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* fix: Add 'resources' to commit-server

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore: Drop commitServer.service.type

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* fix: Add ability to disable the commit-server

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore: Drop commitServer.replicas since there are no upstream docs

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* feat: Allow adding extraVolume and mounts

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore: Disable commit-server by default

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* feat: Dedicated metrics service with basic customization options

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2025-02-04 12:25:53 +01:00

19 lines
793 B
YAML

{{- if and .Values.commitServer.enabled .Values.commitServer.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
automountServiceAccountToken: {{ .Values.commitServer.serviceAccount.automountServiceAccountToken }}
metadata:
name: {{ include "argo-cd.commitServer.serviceAccountName" . }}
namespace: {{ include "argo-cd.namespace" . }}
{{- with .Values.commitServer.serviceAccount.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 4 }}
{{- with .Values.commitServer.serviceAccount.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}