Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update quay.io/argoproj/argocd Docker tag to v2.12.3 #33

Merged
merged 2 commits into from
Sep 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/argoproj/argocd:v2.11.7
FROM quay.io/argoproj/argocd:v2.12.3

ARG SOPS_VERSION="v3.7.3"
ARG HELM_SECRETS_VERSION="4.6.1"
Expand All @@ -9,7 +9,7 @@
ENV KUSTOMIZE_PLUGIN_HOME=$XDG_CONFIG_HOME/kustomize/plugin
ENV PLUGIN_PATH=$KUSTOMIZE_PLUGIN_HOME/viaduct.ai/v1/ksops
ENV HELM_PLUGINS="/home/argocd/.local/share/helm/plugins/"
ENV SOPS_AGE_KEY_FILE=/helm-secrets/age_private_key

Check warning on line 12 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build and Publish Docker

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SOPS_AGE_KEY_FILE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

USER root

Expand Down Expand Up @@ -43,7 +43,7 @@
RUN chown -R argocd ${HOME}

# helm secrets plugin should be installed as user argocd or it won't be found
USER 1000
USER $ARGOCD_USER_ID

# Install helm plugin
RUN /usr/local/bin/helm.bin plugin install https://github.com/jkroepke/helm-secrets --version ${HELM_SECRETS_VERSION}