Add Gitea SSH host key to ArgoCD known_hosts via kustomize patch
Some checks failed
CI / build (push) Blocked by required conditions
Deploy Production / deploy (push) Waiting to run
CI / changes (push) Successful in 2s
CI / lint-and-test (push) Has been cancelled

Without this, ArgoCD rejects SSH connections to the in-cluster
Gitea service. Uses a patch file to replace the known_hosts
ConfigMap with defaults + Gitea key.
This commit is contained in:
Julia McGhee
2026-03-21 16:23:49 +00:00
parent b8ef09359d
commit 9c02fd7f4c
3 changed files with 42 additions and 0 deletions

View File

@@ -33,3 +33,7 @@ patches:
name: argocd-cmd-params-cm
data:
server.insecure: "true"
- target:
kind: ConfigMap
name: argocd-ssh-known-hosts-cm
path: patch-ssh-known-hosts.yaml