diff options
| author | Marcio <marcio@zimbres.com> | 2022-03-12 06:49:29 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-12 10:49:29 +0100 |
| commit | 295d5c3fd17cedeba3afffb2339bcb61bf0d3570 (patch) | |
| tree | 6bbf90a0998b73415692ed9b4d6b95046159b84d /manifests/base | |
| parent | 664b105366f253643d55855caec5e3ad151cc73c (diff) | |
feat: Add configMap to allow define parameters for SSH client (#373)
Diffstat (limited to 'manifests/base')
| -rw-r--r-- | manifests/base/config/argocd-image-updater-ssh-config.yaml | 7 | ||||
| -rw-r--r-- | manifests/base/config/kustomization.yaml | 3 | ||||
| -rw-r--r-- | manifests/base/deployment/argocd-image-updater-deployment.yaml | 6 |
3 files changed, 15 insertions, 1 deletions
diff --git a/manifests/base/config/argocd-image-updater-ssh-config.yaml b/manifests/base/config/argocd-image-updater-ssh-config.yaml new file mode 100644 index 0000000..5c1c4aa --- /dev/null +++ b/manifests/base/config/argocd-image-updater-ssh-config.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: argocd-image-updater-ssh-config + labels: + app.kubernetes.io/name: argocd-image-updater-ssh-config + app.kubernetes.io/part-of: argocd-image-updater diff --git a/manifests/base/config/kustomization.yaml b/manifests/base/config/kustomization.yaml index 9605515..b101402 100644 --- a/manifests/base/config/kustomization.yaml +++ b/manifests/base/config/kustomization.yaml @@ -3,4 +3,5 @@ kind: Kustomization resources: - argocd-image-updater-cm.yaml -- argocd-image-updater-secret.yaml
\ No newline at end of file +- argocd-image-updater-secret.yaml +- argocd-image-updater-ssh-config.yaml diff --git a/manifests/base/deployment/argocd-image-updater-deployment.yaml b/manifests/base/deployment/argocd-image-updater-deployment.yaml index 12ddd83..b5b8260 100644 --- a/manifests/base/deployment/argocd-image-updater-deployment.yaml +++ b/manifests/base/deployment/argocd-image-updater-deployment.yaml @@ -104,6 +104,8 @@ spec: name: image-updater-conf - mountPath: /app/config/ssh name: ssh-known-hosts + - mountPath: /app/.ssh + name: ssh-config serviceAccountName: argocd-image-updater volumes: - configMap: @@ -119,3 +121,7 @@ spec: name: argocd-ssh-known-hosts-cm optional: true name: ssh-known-hosts + - configMap: + name: argocd-image-updater-ssh-config + optional: true + name: ssh-config |
