8
8
9
9
# Mount SA token for Kubernets auth
10
10
# Note: In 2.4.0 onward, there is a dedicated SA for repo-server (not default)
11
+ # Note: This is not fully supported for Kubernetes < v1.19
11
12
automountServiceAccountToken : true
12
13
13
14
# Each of the embedded YAMLs inside cmp-plugin ConfigMap will be mounted into it's respective plugin sidecar
@@ -25,26 +26,12 @@ spec:
25
26
env :
26
27
- name : AVP_VERSION
27
28
value : 1.11.0
28
- - name : HELM_VERSION
29
- value : 3.9.0
30
- - name : KUSTOMIZE_VERSION
31
- value : 4.5.5
32
29
command : [sh, -c]
33
30
args :
34
31
- >-
35
32
curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_amd64 -o argocd-vault-plugin &&
36
33
chmod +x argocd-vault-plugin &&
37
- mv argocd-vault-plugin /custom-tools/ &&
38
-
39
- curl -L https://get.helm.sh/helm-v$(HELM_VERSION)-linux-amd64.tar.gz -o helm.tar.gz &&
40
- tar -xvf helm.tar.gz &&
41
- chmod +x linux-amd64/helm &&
42
- mv linux-amd64/helm /custom-tools &&
43
-
44
- curl -L https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv$(KUSTOMIZE_VERSION)/kustomize_v$(KUSTOMIZE_VERSION)_linux_amd64.tar.gz -o kustomize.tar.gz &&
45
- tar -xvf kustomize.tar.gz &&
46
- chmod +x kustomize &&
47
- mv kustomize /custom-tools
34
+ mv argocd-vault-plugin /custom-tools/
48
35
49
36
volumeMounts :
50
37
- mountPath : /custom-tools
54
41
containers :
55
42
- name : avp-helm
56
43
command : [/var/run/argocd/argocd-cmp-server]
57
- image : registry.access.redhat.com/ubi8
44
+ image : quay.io/argoproj/argocd:v2.4.0
58
45
securityContext :
59
46
runAsNonRoot : true
60
47
runAsUser : 999
@@ -75,14 +62,11 @@ spec:
75
62
- name : custom-tools
76
63
subPath : argocd-vault-plugin
77
64
mountPath : /usr/local/bin/argocd-vault-plugin
78
- - name : custom-tools
79
- subPath : helm
80
- mountPath : /usr/local/bin/helm
81
65
82
66
# argocd-vault-plugin with Kustomize
83
67
- name : avp-kustomize
84
68
command : [/var/run/argocd/argocd-cmp-server]
85
- image : registry.access.redhat.com/ubi8
69
+ image : quay.io/argoproj/argocd:v2.4.0
86
70
securityContext :
87
71
runAsNonRoot : true
88
72
runAsUser : 999
@@ -103,14 +87,11 @@ spec:
103
87
- name : custom-tools
104
88
subPath : argocd-vault-plugin
105
89
mountPath : /usr/local/bin/argocd-vault-plugin
106
- - name : custom-tools
107
- subPath : kustomize
108
- mountPath : /usr/local/bin/kustomize
109
90
110
91
# argocd-vault-plugin with plain YAML
111
92
- name : avp
112
93
command : [/var/run/argocd/argocd-cmp-server]
113
- image : registry.access.redhat.com/ubi8
94
+ image : quay.io/argoproj/argocd:v2.4.0
114
95
securityContext :
115
96
runAsNonRoot : true
116
97
runAsUser : 999
0 commit comments