File tree 3 files changed +28
-8
lines changed
3 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 82
82
- name : AVP_VERSION
83
83
value : " 1.18.0"
84
84
args :
85
- - >-
85
+ - |
86
+ ARCH=$(uname -m)
87
+ case $ARCH in
88
+ aarch64) ARCH="arm64";;
89
+ x86_64) ARCH="amd64";;
90
+ esac
86
91
wget -O argocd-vault-plugin
87
- https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v${AVP_VERSION}/argocd-vault-plugin_${AVP_VERSION}_linux_amd64 &&
92
+ https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v${AVP_VERSION}/argocd-vault-plugin_${AVP_VERSION}_linux_$ARCH &&
88
93
chmod +x argocd-vault-plugin &&
89
94
mv argocd-vault-plugin /custom-tools/
90
95
volumeMounts :
@@ -193,8 +198,13 @@ spec:
193
198
value: 1.18.0
194
199
command: [sh, -c]
195
200
args:
196
- - >-
197
- 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 &&
201
+ - |
202
+ ARCH=$(uname -m)
203
+ case $ARCH in
204
+ aarch64) ARCH="arm64";;
205
+ x86_64) ARCH="amd64";;
206
+ esac
207
+ curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_$ARCH -o argocd-vault-plugin &&
198
208
chmod +x argocd-vault-plugin &&
199
209
mv argocd-vault-plugin /custom-tools/
200
210
volumeMounts:
Original file line number Diff line number Diff line change 31
31
- name : AVP_VERSION
32
32
value : " 1.18.0"
33
33
args :
34
- - >-
34
+ - |
35
+ ARCH=$(uname -m)
36
+ case $ARCH in
37
+ aarch64) ARCH="arm64";;
38
+ x86_64) ARCH="amd64";;
39
+ esac
35
40
wget -O argocd-vault-plugin
36
- https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v${AVP_VERSION}/argocd-vault-plugin_${AVP_VERSION}_linux_amd64 &&
41
+ https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v${AVP_VERSION}/argocd-vault-plugin_${AVP_VERSION}_linux_$ARCH &&
37
42
chmod +x argocd-vault-plugin &&
38
43
mv argocd-vault-plugin /custom-tools/
39
44
volumeMounts :
Original file line number Diff line number Diff line change 28
28
value : 1.18.0
29
29
command : [sh, -c]
30
30
args :
31
- - >-
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 &&
31
+ - |
32
+ ARCH=$(uname -m)
33
+ case $ARCH in
34
+ aarch64) ARCH="arm64";;
35
+ x86_64) ARCH="amd64";;
36
+ esac
37
+ curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_$ARCH -o argocd-vault-plugin &&
33
38
chmod +x argocd-vault-plugin &&
34
39
mv argocd-vault-plugin /custom-tools/
35
40
You can’t perform that action at this time.
0 commit comments