fix(argo-cd): Add usages to ArgoCD server certificate (#2143)
This commit is contained in:
parent
7c3553de9d
commit
167c112bcb
4 changed files with 10 additions and 2 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.7.6
|
||||||
kubeVersion: ">=1.23.0-0"
|
kubeVersion: ">=1.23.0-0"
|
||||||
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.36.12
|
version: 5.36.13
|
||||||
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:
|
||||||
|
@ -27,4 +27,4 @@ annotations:
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: added
|
||||||
description: Added note about Kubernetes Compatibility Matrix
|
description: Support for setting server certificate usages
|
||||||
|
|
|
@ -688,6 +688,7 @@ NAME: my-release
|
||||||
| 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.secretName | string | `"argocd-server-tls"` | The name of the Secret that will be automatically created and managed by this Certificate resource |
|
| server.certificate.secretName | string | `"argocd-server-tls"` | The name of the Secret that will be automatically created and managed by this Certificate resource |
|
||||||
|
| 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 |
|
||||||
| server.certificateSecret.enabled | bool | `false` | Create argocd-server-tls secret |
|
| server.certificateSecret.enabled | bool | `false` | Create argocd-server-tls secret |
|
||||||
|
|
|
@ -30,4 +30,8 @@ spec:
|
||||||
privateKey:
|
privateKey:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.server.certificate.usages }}
|
||||||
|
usages:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- 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