fix(argo-cd): add functionality to en/disable argocd-ssh-known-hosts-cm (#3083)
Signed-off-by: Davor Gajic <davor@nine.ch> Co-authored-by: Davor Gajic <davor@nine.ch> Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
parent
06af22458f
commit
ca63415d8a
4 changed files with 9 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.13.2
|
|||
kubeVersion: ">=1.25.0-0"
|
||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 7.7.10
|
||||
version: 7.7.11
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
sources:
|
||||
|
@ -26,5 +26,5 @@ annotations:
|
|||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||
artifacthub.io/changes: |
|
||||
- kind: changed
|
||||
description: Bump argo-cd to v2.13.2
|
||||
- kind: added
|
||||
description: Added functionality to en/disable argocd-ssh-known-hosts-cm
|
||||
|
|
|
@ -783,6 +783,7 @@ NAME: my-release
|
|||
| configs.secret.gogsSecret | string | `""` | Shared secret for authenticating Gogs webhook events |
|
||||
| configs.secret.labels | object | `{}` | Labels to be added to argocd-secret |
|
||||
| configs.ssh.annotations | object | `{}` | Annotations to be added to argocd-ssh-known-hosts-cm configmap |
|
||||
| configs.ssh.create | bool | `true` | Specifies if the argocd-ssh-known-hosts-cm configmap should be created by Helm. |
|
||||
| configs.ssh.extraHosts | string | `""` | Additional known hosts for private repositories |
|
||||
| configs.ssh.knownHosts | string | See [values.yaml] | Known hosts to be added to the known host list by default. |
|
||||
| configs.styles | string | `""` (See [values.yaml]) | Define custom [CSS styles] for your argo instance. This setting will automatically mount the provided CSS and reference it in the argo configuration. |
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{- if .Values.configs.ssh.create }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
|
@ -17,3 +18,4 @@ data:
|
|||
{{- with .Values.configs.ssh.extraHosts }}
|
||||
{{- . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -371,6 +371,9 @@ configs:
|
|||
# SSH known hosts for Git repositories
|
||||
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#ssh-known-host-public-keys
|
||||
ssh:
|
||||
# -- Specifies if the argocd-ssh-known-hosts-cm configmap should be created by Helm.
|
||||
create: true
|
||||
|
||||
# -- Annotations to be added to argocd-ssh-known-hosts-cm configmap
|
||||
annotations: {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue