diff --git a/gitops/base-install/argocd/overlays/argo-cd-repo-server-ksops-patch.yaml b/gitops/base-install/argocd/overlays/argo-cd-repo-server-ksops-patch.yaml index 4dee539..835b3a3 100644 --- a/gitops/base-install/argocd/overlays/argo-cd-repo-server-ksops-patch.yaml +++ b/gitops/base-install/argocd/overlays/argo-cd-repo-server-ksops-patch.yaml @@ -17,17 +17,6 @@ spec: optional: true # 2. Use an init container to download/copy custom binaries into the emptyDir initContainers: - - name: install-ksops - image: viaductoss/ksops:v4.3.3 - command: ["/bin/sh", "-c"] - args: - - echo "Installing KSOPS..."; - mv ksops /custom-tools/; - mv $GOPATH/bin/kustomize /custom-tools/; - echo "Done."; - volumeMounts: - - mountPath: /custom-tools - name: custom-tools - name: install-custom-tools image: alpine:latest imagePullPolicy: IfNotPresent @@ -59,6 +48,17 @@ spec: volumeMounts: - mountPath: /custom-tools name: custom-tools + - name: install-ksops + image: viaductoss/ksops:v4.3.3 + command: [ "/bin/sh", "-c" ] + args: + - echo "Installing KSOPS..."; + mv ksops /custom-tools/; + mv $GOPATH/bin/kustomize /custom-tools/; + echo "Done."; + volumeMounts: + - mountPath: /custom-tools + name: custom-tools # Import the private gpg key from the secret into argocd - name: import-gpg-key image: argoproj/argocd:v2.5.0