feat: add gomplate
ci/woodpecker/push/build-package Pipeline was successful Details
ci/woodpecker/push/build-container Pipeline was successful Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/notify Pipeline was successful Details

This commit is contained in:
Robert Kaussow 2024-03-26 10:36:36 +01:00
parent 2e23b142c0
commit f0137388d4
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 0 deletions

View File

@ -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 && \

View File

@ -30,6 +30,7 @@ Custom Kubernetes toolkit container based on Alpine.
- flux-local
- polaris
- openapi2jsonschema
- gomplate
<!-- spellchecker-enable -->