From 631ee3da9f8728175332a66f16433aa2d9c622fd Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Mon, 9 Oct 2023 16:37:58 +0200 Subject: [PATCH] update deployment config --- infrastructure/argocd/known-hosts.configmap.yaml | 10 ++++++++++ infrastructure/argocd/kustomization.yaml | 6 +++++- kluster-deployments/journal/application.yaml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 infrastructure/argocd/known-hosts.configmap.yaml diff --git a/infrastructure/argocd/known-hosts.configmap.yaml b/infrastructure/argocd/known-hosts.configmap.yaml new file mode 100644 index 0000000..946dded --- /dev/null +++ b/infrastructure/argocd/known-hosts.configmap.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + labels: + app.kubernetes.io/name: argocd-ssh-known-hosts-cm + app.kubernetes.io/part-of: argocd + name: argocd-ssh-known-hosts-cm +data: + ssh_known_hosts: | + [git.kluster.moll.re]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOTtII97BheLIPWTpxMLmuFGFb7C96kqdhf78x7yWhlu diff --git a/infrastructure/argocd/kustomization.yaml b/infrastructure/argocd/kustomization.yaml index 4de9414..99f910f 100644 --- a/infrastructure/argocd/kustomization.yaml +++ b/infrastructure/argocd/kustomization.yaml @@ -6,4 +6,8 @@ resources: - https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml - namespace.yaml - ingress.yaml -- argo-apps.application.yaml \ No newline at end of file +- argo-apps.application.yaml + + +patches: +- known-hosts.configmap.yaml \ No newline at end of file diff --git a/kluster-deployments/journal/application.yaml b/kluster-deployments/journal/application.yaml index 3ecf6db..846e669 100644 --- a/kluster-deployments/journal/application.yaml +++ b/kluster-deployments/journal/application.yaml @@ -8,7 +8,7 @@ spec: source: repoURL: ssh://git@git.kluster.moll.re:2222/remoll/journal-bot.git targetRevision: HEAD - path: deployment + path: deployment/overlays/main destination: server: https://kubernetes.default.svc namespace: journal