add secret template annotation to argocd server certificate
Signed-off-by: Ims, Julie <juliebergeims@gmail.com>
This commit is contained in:
parent
3c127abe7b
commit
8c9573a082
2 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,13 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
secretTemplate:
|
||||||
|
{{- with .Values.server.certificate.secretTemplateAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
secretName: {{ .Values.server.certificate.secretName }}
|
secretName: {{ .Values.server.certificate.secretName }}
|
||||||
commonName: {{ .Values.server.certificate.domain | default .Values.global.domain }}
|
commonName: {{ .Values.server.certificate.domain | default .Values.global.domain }}
|
||||||
dnsNames:
|
dnsNames:
|
||||||
|
|
|
@ -2029,6 +2029,8 @@ server:
|
||||||
# -- Usages for the certificate
|
# -- Usages for the certificate
|
||||||
### Ref: https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.KeyUsage
|
### Ref: https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.KeyUsage
|
||||||
usages: []
|
usages: []
|
||||||
|
# Secret allows the certificate to be composed from data residing in existing Kubernetes Resources, including other Secrets.
|
||||||
|
secretTemplateAnnotations: {}
|
||||||
|
|
||||||
# TLS certificate configuration via Secret
|
# TLS certificate configuration via Secret
|
||||||
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/tls/#tls-certificates-used-by-argocd-server
|
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/tls/#tls-certificates-used-by-argocd-server
|
||||||
|
|
Loading…
Reference in a new issue