Merge branch 'main' into fix/remove-secretname-certificate
Signed-off-by: Erwan Vallienne <135604788+erwanval@users.noreply.github.com>
This commit is contained in:
commit
e40171b167
4 changed files with 11 additions and 1 deletions
|
@ -967,6 +967,7 @@ NAME: my-release
|
||||||
| server.certificate.privateKey.rotationPolicy | string | `"Never"` | Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always` |
|
| server.certificate.privateKey.rotationPolicy | string | `"Never"` | Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always` |
|
||||||
| server.certificate.privateKey.size | int | `2048` | Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored. |
|
| server.certificate.privateKey.size | int | `2048` | Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored. |
|
||||||
| server.certificate.renewBefore | string | `""` (defaults to 360h = 15d if not specified) | How long before the expiry a certificate should be renewed. |
|
| server.certificate.renewBefore | string | `""` (defaults to 360h = 15d if not specified) | How long before the expiry a certificate should be renewed. |
|
||||||
|
| server.certificate.secretTemplateAnnotations | object | `{}` | Annotations that allow the certificate to be composed from data residing in existing Kubernetes Resources |
|
||||||
| server.certificate.usages | list | `[]` | Usages for the certificate |
|
| server.certificate.usages | list | `[]` | Usages for the certificate |
|
||||||
| server.certificateSecret.annotations | object | `{}` | Annotations to be added to argocd-server-tls secret |
|
| server.certificateSecret.annotations | object | `{}` | Annotations to be added to argocd-server-tls secret |
|
||||||
| server.certificateSecret.crt | string | `""` | Certificate data |
|
| server.certificateSecret.crt | string | `""` | Certificate data |
|
||||||
|
|
|
@ -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: argocd-server-tls
|
secretName: argocd-server-tls
|
||||||
commonName: {{ .Values.server.certificate.domain | default .Values.global.domain }}
|
commonName: {{ .Values.server.certificate.domain | default .Values.global.domain }}
|
||||||
dnsNames:
|
dnsNames:
|
||||||
|
|
|
@ -2027,6 +2027,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: []
|
||||||
|
# -- Annotations that allow the certificate to be composed from data residing in existing Kubernetes Resources
|
||||||
|
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