github.com/argoproj/argo-cd/v2@v2.10.9/examples/plugins/helm/argocd-repo-server-deployment-patch.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: argocd-repo-server 5 spec: 6 template: 7 spec: 8 initContainers: 9 - name: helm-plugin-setup 10 image: busybox 11 command: 12 - sh 13 - -c 14 - | 15 wget https://get.helm.sh/helm-v3.10.3-linux-amd64.tar.gz -O - | tar xz && mv linux-amd64/helm /tools/helm && chmod +x /tools/helm 16 wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O /tools/jq && chmod +x /tools/jq 17 wget https://github.com/mikefarah/yq/releases/download/v4.30.6/yq_linux_amd64 -O /tools/yq && chmod +x /tools/yq 18 volumeMounts: 19 - mountPath: /tools 20 name: helm-plugin-tools 21 containers: 22 - name: helm-plugin 23 command: [/var/run/argocd/argocd-cmp-server] 24 args: [--loglevel, debug] 25 image: busybox 26 securityContext: 27 runAsNonRoot: true 28 runAsUser: 999 29 volumeMounts: 30 - mountPath: /var/run/argocd 31 name: var-files 32 - mountPath: /home/argocd/cmp-server/plugins 33 name: plugins 34 - mountPath: /helm-working-dir 35 name: helm-plugin-tmp 36 - mountPath: /home/argocd/cmp-server/config/plugin.yaml 37 subPath: plugin.yaml 38 name: helm-plugin-config 39 - mountPath: /var/run/argocd/helm-plugin/generate.sh 40 subPath: generate.sh 41 name: helm-plugin-config 42 - mountPath: /var/run/argocd/helm-plugin/get-parameters.sh 43 subPath: get-parameters.sh 44 name: helm-plugin-config 45 - mountPath: /usr/local/bin 46 name: helm-plugin-tools 47 volumes: 48 - configMap: 49 name: helm-plugin-config 50 name: helm-plugin-config 51 - emptyDir: {} 52 name: helm-plugin-tmp 53 - emptyDir: {} 54 name: helm-plugin-tools