Skip to content

Commit 1092d00

Browse files
authored
Merge branch 'main' into fix/docs-usage-helm-template
2 parents 96f393b + 8ed2581 commit 1092d00

File tree

2 files changed

+9
-24
lines changed

2 files changed

+9
-24
lines changed

Diff for: manifests/cmp-sidecar/argocd-repo-server.yaml

+5-24
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ spec:
88

99
# Mount SA token for Kubernets auth
1010
# 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
1112
automountServiceAccountToken: true
1213

1314
# Each of the embedded YAMLs inside cmp-plugin ConfigMap will be mounted into it's respective plugin sidecar
@@ -25,26 +26,12 @@ spec:
2526
env:
2627
- name: AVP_VERSION
2728
value: 1.11.0
28-
- name: HELM_VERSION
29-
value: 3.9.0
30-
- name: KUSTOMIZE_VERSION
31-
value: 4.5.5
3229
command: [sh, -c]
3330
args:
3431
- >-
3532
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 &&
3633
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/
4835
4936
volumeMounts:
5037
- mountPath: /custom-tools
@@ -54,7 +41,7 @@ spec:
5441
containers:
5542
- name: avp-helm
5643
command: [/var/run/argocd/argocd-cmp-server]
57-
image: registry.access.redhat.com/ubi8
44+
image: quay.io/argoproj/argocd:v2.4.0
5845
securityContext:
5946
runAsNonRoot: true
6047
runAsUser: 999
@@ -75,14 +62,11 @@ spec:
7562
- name: custom-tools
7663
subPath: argocd-vault-plugin
7764
mountPath: /usr/local/bin/argocd-vault-plugin
78-
- name: custom-tools
79-
subPath: helm
80-
mountPath: /usr/local/bin/helm
8165

8266
# argocd-vault-plugin with Kustomize
8367
- name: avp-kustomize
8468
command: [/var/run/argocd/argocd-cmp-server]
85-
image: registry.access.redhat.com/ubi8
69+
image: quay.io/argoproj/argocd:v2.4.0
8670
securityContext:
8771
runAsNonRoot: true
8872
runAsUser: 999
@@ -103,14 +87,11 @@ spec:
10387
- name: custom-tools
10488
subPath: argocd-vault-plugin
10589
mountPath: /usr/local/bin/argocd-vault-plugin
106-
- name: custom-tools
107-
subPath: kustomize
108-
mountPath: /usr/local/bin/kustomize
10990

11091
# argocd-vault-plugin with plain YAML
11192
- name: avp
11293
command: [/var/run/argocd/argocd-cmp-server]
113-
image: registry.access.redhat.com/ubi8
94+
image: quay.io/argoproj/argocd:v2.4.0
11495
securityContext:
11596
runAsNonRoot: true
11697
runAsUser: 999

Diff for: manifests/cmp-sidecar/kustomization.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

4+
images:
5+
- name: quay.io/argoproj/argocd
6+
newTag: v2.4.0
7+
48
# Note: Versions below 2.4.0 will not always work if trying to use AVP with Helm
59
# Fixed in https://github.com/argoproj/argo-cd/pull/9319
610
resources:

0 commit comments

Comments
 (0)