fix: actually wrap the cmp-server and not the repo-server
All checks were successful
ZeroDownTime/zdt-argocd/pipeline/head This commit looks good
ZeroDownTime/zdt-argocd/pipeline/tag This commit looks good

This commit is contained in:
Stefan Reimer 2025-06-23 10:58:43 +00:00
parent c7101759ea
commit 73e0319591
2 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM quay.io/argoproj/argocd:v3.0.9
FROM quay.io/argoproj/argocd:v3.0.6
# renovate: datasource=github-releases depName=sops packageName=getsops/sops
ARG SOPS_VERSION=v3.10.2
@ -45,12 +45,10 @@ RUN mkdir -p /home/argocd/.local/share/helm/plugins && \
chown -R root: /home/argocd/.local/share/helm && \
ln -sf /home/argocd/.local/share/helm/plugins/helm-secrets/scripts/wrapper/helm.sh /usr/local/sbin/helm && \
sed -i -e 's/secrets/secrets --evaluate-templates/' /home/argocd/.local/share/helm/plugins/helm-secrets/scripts/wrapper/helm.sh && \
rm -f /usr/local/bin/argocd-repo-server
rm -f /usr/local/bin/argocd-cmp-server
# replace argocd-repo-server with wrapper to install kubectl config
ADD argocd-repo-server-wrapper.sh /usr/local/bin/argocd-repo-server
# replace argocd-cmp-server with wrapper to install kubectl config
ADD argocd-cmp-server-wrapper.sh /usr/local/bin/argocd-cmp-server
# register vals "cmp plugin"
ADD plugin.yaml /home/argocd/cmp-server/config/plugin.yaml

View File

@ -28,4 +28,4 @@ EOF
chmod 600 $KUBECONFIG
ARGOCD_BINARY_NAME=argocd-repo-server /usr/local/bin/argocd $@
ARGOCD_BINARY_NAME=argocd-cmp-server /usr/local/bin/argocd $@