Compare commits

..

3 Commits

Author SHA1 Message Date
27fa6d8321 chore(deps): update dependency helm/helm to v3.16.4
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-12-17 09:54:29 +01:00
7e76594809 feat(helm-values-schema): init
All checks were successful
continuous-integration/drone/push Build is passing
Install helm plugin helm-values-schema-json to generate a values.schema.json from multiple sources.
2024-12-17 09:54:11 +01:00
22ba0676d8 fix(Dockerfile): install condition
Adapt the bash if else condition to install latest or released helm version.
2024-12-17 09:53:51 +01:00
2 changed files with 5 additions and 4 deletions

View File

@ -5,13 +5,14 @@ ARG HELM_VERSION
RUN apk add bash curl git openssl && \ RUN apk add bash curl git openssl && \
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 --output /tmp/install.sh curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 --output /tmp/install.sh
RUN [[ ${HELM_VERSION} == "" ]]; bash /tmp/install.sh RUN if [[ -z "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh; fi
RUN [[ ${HELM_VERSION} != "" ]]; bash /tmp/install.sh --version ${HELM_VERSION} RUN if [[ -n "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh --version "${HELM_VERSION}"; fi
RUN rm /tmp/install.sh RUN rm /tmp/install.sh
# Install additionally helm plugins # Install additionally helm plugins
RUN helm plugin install https://github.com/chartmuseum/helm-push.git && \ RUN helm plugin install https://github.com/chartmuseum/helm-push.git && \
helm plugin install https://github.com/helm-unittest/helm-unittest.git helm plugin install https://github.com/helm-unittest/helm-unittest.git && \
helm plugin install https://github.com/losisin/helm-values-schema-json.git
ENTRYPOINT [ "/usr/local/bin/helm" ] ENTRYPOINT [ "/usr/local/bin/helm" ]

View File

@ -1,6 +1,6 @@
# HELM_VERSION # HELM_VERSION
# Only required to install a specifiy version # Only required to install a specifiy version
HELM_VERSION?=v3.16.3 # renovate: datasource=github-releases depName=helm/helm HELM_VERSION?=v3.16.4 # renovate: datasource=github-releases depName=helm/helm
# CONTAINER_RUNTIME # CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a # The CONTAINER_RUNTIME variable will be used to specified the path to a