From f0137388d41f28efecb34af57b1f9970d9434e92 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 26 Mar 2024 10:36:36 +0100 Subject: [PATCH] feat: add gomplate --- Containerfile.multiarch | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) diff --git a/Containerfile.multiarch b/Containerfile.multiarch index d973e54..3c2cf0e 100644 --- a/Containerfile.multiarch +++ b/Containerfile.multiarch @@ -20,6 +20,8 @@ ARG POLARIS_VERSION ARG FLUX_LOCAL_VERSION ARG FLUX_VERSION +# renovate: datasource=github-releases depName=hairyhenderson/gomplate +ENV GOMPLATE_VERSION="${GOMPLATE_VERSION:-v3.11.7}" # renovate: datasource=github-releases depName=kubernetes/kubernetes ENV KUBECTL_VERSION="${KUBECTL_VERSION:-v1.29.3}" # renovate: datasource=github-releases depName=mikefarah/yq @@ -48,6 +50,7 @@ RUN apk --update add curl tar make bash python3 py3-yaml pipx findutils git && \ curl -SsfL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" && \ curl -SsfL -o /usr/local/bin/kubectl-convert "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl-convert" && \ curl -SsfL -o /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_${TARGETOS}_${TARGETARCH}" && \ + curl -SsfL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_${TARGETOS}-${TARGETARCH}${TARGETVARIANT}" && \ curl -SsfL -o /usr/local/bin/openapi2jsonschema "https://raw.githubusercontent.com/yannh/kubeconform/${KUBECONFORM_VERSION}/scripts/openapi2jsonschema.py" && \ curl -SsfL "https://get.helm.sh/helm-${HELM_VERSION}-${TARGETOS}-${TARGETARCH}.tar.gz" \ | tar xz --strip-components=1 -C /usr/local/bin "${TARGETOS}-${TARGETARCH}/helm" && \ @@ -62,6 +65,7 @@ RUN apk --update add curl tar make bash python3 py3-yaml pipx findutils git && \ chmod 755 /usr/local/bin/kubectl && \ chmod 755 /usr/local/bin/kubectl-convert && \ chmod 755 /usr/local/bin/yq && \ + chmod 755 /usr/local/bin/gomplate && \ chmod 755 /usr/local/bin/openapi2jsonschema && \ chmod 755 /usr/local/bin/helm && \ chmod 755 /usr/local/bin/kustomize && \ diff --git a/README.md b/README.md index c175e92..84ff616 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Custom Kubernetes toolkit container based on Alpine. - flux-local - polaris - openapi2jsonschema +- gomplate