From 82c288c460c38f1b4c2021522109cd0b0a900ed3 Mon Sep 17 00:00:00 2001 From: Andrey Kartashov Date: Sun, 27 Oct 2019 02:27:00 +0700 Subject: [PATCH] argocd: add repo cred template --- apps/argocd/patches/argocd-cm.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/argocd/patches/argocd-cm.yaml b/apps/argocd/patches/argocd-cm.yaml index bf44aa4..1bfb568 100644 --- a/apps/argocd/patches/argocd-cm.yaml +++ b/apps/argocd/patches/argocd-cm.yaml @@ -13,3 +13,8 @@ data: config: clientID: $dex.github.clientId clientSecret: $dex.github.clientSecret + repository.credentials: | + - url: git@github.com:gorilych/ + sshPrivateKeySecret: + name: argocd-secret + key: gitPrivateKey