mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
fix(cmp): fix plugins not having access to argocd cli for git ASKPASS (#24665)
Signed-off-by: Zach Aller <zach_aller@intuit.com>
This commit is contained in:
parent
d1f8cddad0
commit
e181fbb81d
11 changed files with 65 additions and 55 deletions
|
|
@ -301,11 +301,11 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd /var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- '-c'
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/core-install-with-hydrator.yaml
generated
11
manifests/core-install-with-hydrator.yaml
generated
|
|
@ -25430,11 +25430,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/core-install.yaml
generated
11
manifests/core-install.yaml
generated
|
|
@ -25264,11 +25264,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/ha/install-with-hydrator.yaml
generated
11
manifests/ha/install-with-hydrator.yaml
generated
|
|
@ -27065,11 +27065,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/ha/install.yaml
generated
11
manifests/ha/install.yaml
generated
|
|
@ -26901,11 +26901,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/ha/namespace-install-with-hydrator.yaml
generated
11
manifests/ha/namespace-install-with-hydrator.yaml
generated
|
|
@ -2752,11 +2752,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/ha/namespace-install.yaml
generated
11
manifests/ha/namespace-install.yaml
generated
|
|
@ -2588,11 +2588,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/install-with-hydrator.yaml
generated
11
manifests/install-with-hydrator.yaml
generated
|
|
@ -26095,11 +26095,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/install.yaml
generated
11
manifests/install.yaml
generated
|
|
@ -25929,11 +25929,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/namespace-install-with-hydrator.yaml
generated
11
manifests/namespace-install-with-hydrator.yaml
generated
|
|
@ -1782,11 +1782,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
11
manifests/namespace-install.yaml
generated
11
manifests/namespace-install.yaml
generated
|
|
@ -1616,11 +1616,12 @@ spec:
|
|||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/cp
|
||||
- -n
|
||||
- /usr/local/bin/argocd
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
- args:
|
||||
- /bin/cp -n /usr/local/bin/argocd /var/run/argocd/argocd && /bin/ln -s /var/run/argocd/argocd
|
||||
/var/run/argocd/argocd-cmp-server
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
image: quay.io/argoproj/argocd:latest
|
||||
name: copyutil
|
||||
securityContext:
|
||||
|
|
|
|||
Loading…
Reference in a new issue