feat: rebase against latest ArgoCD, no sops nor kubectl
All checks were successful
ZeroDownTime/zdt-argocd/pipeline/head This commit looks good

This commit is contained in:
Stefan Reimer 2024-05-17 11:56:24 +00:00
parent 2a2c6d12ce
commit b9e91dfe11

View File

@ -1,9 +1,8 @@
ARG ARGOCD_VERSION="v2.6.2"
ARG ARGOCD_VERSION="v2.11.0"
FROM argoproj/argocd:$ARGOCD_VERSION
ARG SOPS_VERSION="3.8.1"
ARG VALS_VERSION="0.37.1"
ARG HELM_SECRETS_VERSION="4.6.0"
ARG KUBECTL_VERSION="1.26.1"
# vals or sops
ENV HELM_SECRETS_BACKEND="vals" \
HELM_SECRETS_HELM_PATH=/usr/local/bin/helm \
@ -23,12 +22,9 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN curl -fsSL https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
-o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl
# sops backend installation (optional)
RUN curl -fsSL https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64 \
-o /usr/local/bin/sops && chmod +x /usr/local/bin/sops
#RUN curl -fsSL https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64 \
# -o /usr/local/bin/sops && chmod +x /usr/local/bin/sops
# vals backend installation (optional)
RUN curl -fsSL https://github.com/helmfile/vals/releases/download/v${VALS_VERSION}/vals_${VALS_VERSION}_linux_amd64.tar.gz \