From c02a2b7901f69d800b35916c1d0d3b68f1b2b45b Mon Sep 17 00:00:00 2001 From: Daniel Wright Date: Fri, 19 May 2023 01:20:14 +1000 Subject: [PATCH] docs: update documentation to support new version of dockerfile (#183) This commit changes the version of both argocd and ksops to newer versions and changes the paths to reflect what is configured in the new slim docker image introduced in #180 ArgoCD v2.6.7 is the latest version available on the argoproj docker registry at the time of this commit. --- README-legacy.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README-legacy.md b/README-legacy.md index 61986f3..4b12c3f 100644 --- a/README-legacy.md +++ b/README-legacy.md @@ -394,9 +394,9 @@ spec: Alternatively, for more control and faster pod start times you can build a custom docker image. ```Dockerfile -ARG ARGO_CD_VERSION="v1.7.7" +ARG ARGO_CD_VERSION="v2.6.7" # https://github.com/argoproj/argo-cd/blob/master/Dockerfile -ARG KSOPS_VERSION="v3.1.0" +ARG KSOPS_VERSION="v4.1.3" #--------------------------------------------# #--------Build KSOPS and Kustomize-----------# @@ -420,10 +420,10 @@ ENV KUSTOMIZE_PLUGIN_PATH=$XDG_CONFIG_HOME/kustomize/plugin/ ARG PKG_NAME=ksops # Override the default kustomize executable with the Go built version -COPY --from=ksops-builder /go/bin/kustomize /usr/local/bin/kustomize +COPY --from=ksops-builder /usr/local/bin/kustomize /usr/local/bin/kustomize # Copy the plugin to kustomize plugin path -COPY --from=ksops-builder /go/src/github.com/viaduct-ai/kustomize-sops/* $KUSTOMIZE_PLUGIN_PATH/viaduct.ai/v1/${PKG_NAME}/ +COPY --from=ksops-builder /usr/local/bin/ksops $KUSTOMIZE_PLUGIN_PATH/viaduct.ai/v1/${PKG_NAME}/ # Switch back to non-root user USER argocd @@ -453,7 +453,7 @@ repoServer: initContainers: - name: install-ksops - image: viaductoss/ksops:v3.1.0 + image: viaductoss/ksops:v4.1.3 command: ["/bin/sh", "-c"] args: - echo "Installing KSOPS...";