fix(certificate) Add usages to ArgoCD server certificate
Signed-off-by: Elad Shmitanka <elad@myheritage.com>
This commit is contained in:
parent
7c3553de9d
commit
6673bd0384
2 changed files with 9 additions and 0 deletions
|
@ -30,4 +30,10 @@ spec:
|
||||||
privateKey:
|
privateKey:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.server.certificate.usages }}
|
||||||
|
usages:
|
||||||
|
{{- range .Values.server.certificate.usages }}
|
||||||
|
- {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1743,6 +1743,9 @@ server:
|
||||||
algorithm: RSA
|
algorithm: RSA
|
||||||
# -- Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored.
|
# -- Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored.
|
||||||
size: 2048
|
size: 2048
|
||||||
|
# -- Usages for the certificate
|
||||||
|
### Ref: https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.KeyUsage
|
||||||
|
usages: []
|
||||||
|
|
||||||
# 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