Files
homelab/infra/kubernetes/argocd/kustomization.yaml
Julia McGhee 9c02fd7f4c
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
Add Gitea SSH host key to ArgoCD known_hosts via kustomize patch
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.
2026-03-21 16:23:49 +00:00

40 lines
983 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- namespace.yaml
- https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.3/manifests/install.yaml
- app-of-apps.yaml
- appsets/platform.yaml
- appsets/apps.yaml
- appsets/previews.yaml
- argocd-gitea-repo-sealed.yaml
- argocd-gitea-token-sealed.yaml
- servicemonitor.yaml
patches:
- target:
kind: ConfigMap
name: argocd-cm
patch: |
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
data:
url: https://argocd.coreworlds.io
application.resourceTrackingMethod: annotation
- target:
kind: ConfigMap
name: argocd-cmd-params-cm
patch: |
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cmd-params-cm
data:
server.insecure: "true"
- target:
kind: ConfigMap
name: argocd-ssh-known-hosts-cm
path: patch-ssh-known-hosts.yaml