Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package helmfile for openSUSE:Factory checked in at 2021-09-17 23:25:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/helmfile (Old) and /work/SRC/openSUSE:Factory/.helmfile.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "helmfile" Fri Sep 17 23:25:59 2021 rev:24 rq:919665 version:0.140.1 Changes: -------- --- /work/SRC/openSUSE:Factory/helmfile/helmfile.changes 2021-08-18 08:56:59.734898454 +0200 +++ /work/SRC/openSUSE:Factory/.helmfile.new.1899/helmfile.changes 2021-09-17 23:26:17.809254654 +0200 @@ -1,0 +2,21 @@ +Fri Sep 17 06:57:31 UTC 2021 - Manfred Hollstein <[email protected]> + +- v0.140.1: + * 787e6c8 (HEAD, tag: v0.140.1) ubuntu docker based image for + helmfile (#1863) + * 724b4b3 readme: fix wrong paths for environments on conf + example (#1885) + * 2792ef7 bug: write-values deletes provided --values files. + (#1905) + * f57b510 Fix json patches and strategic patches to do work + when there was only one resource in the targeted chart/directory + (#1962) + * 7845ccc Stop integration test for Helm 2.17.0 (#1961) + * e1cabc8 Add support for --validate on chartify (#1960) + * 0f91f2c Add IKEA to users. (#1925) + * 8594944 Update writing-helmfile.md (#1937) + * ae438c8 Add more examples for remote env value files (#1938) + * ad2f8e8 Add debian docker image, drop helm2, upgrade packages. + (#1956) + +------------------------------------------------------------------- Old: ---- helmfile-0.140.0.tar.gz New: ---- helmfile-0.140.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ helmfile.spec ++++++ --- /var/tmp/diff_new_pack.JEIyNc/_old 2021-09-17 23:26:18.545255309 +0200 +++ /var/tmp/diff_new_pack.JEIyNc/_new 2021-09-17 23:26:18.549255314 +0200 @@ -17,9 +17,9 @@ # -%define git_commit ccd81de77e0811ccaeaae5ed00164c2299c17654 +%define git_commit 787e6c80d1d16c48912c5280a6a84a01b1a702c3 Name: helmfile -Version: 0.140.0 +Version: 0.140.1 Release: 0 Summary: Deploy Kubernetes Helm Charts License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.JEIyNc/_old 2021-09-17 23:26:18.573255335 +0200 +++ /var/tmp/diff_new_pack.JEIyNc/_new 2021-09-17 23:26:18.577255338 +0200 @@ -5,7 +5,7 @@ <param name="exclude">.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="revision">v0.140.0</param> + <param name="revision">v0.140.1</param> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.JEIyNc/_old 2021-09-17 23:26:18.601255360 +0200 +++ /var/tmp/diff_new_pack.JEIyNc/_new 2021-09-17 23:26:18.601255360 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/roboll/helmfile.git</param> - <param name="changesrevision">ccd81de77e0811ccaeaae5ed00164c2299c17654</param></service></servicedata> + <param name="changesrevision">787e6c80d1d16c48912c5280a6a84a01b1a702c3</param></service></servicedata> ++++++ helmfile-0.140.0.tar.gz -> helmfile-0.140.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/.circleci/Makefile new/helmfile-0.140.1/.circleci/Makefile --- old/helmfile-0.140.0/.circleci/Makefile 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/.circleci/Makefile 2021-09-14 09:01:34.000000000 +0200 @@ -1,5 +1,4 @@ HELM_VERSION ?= v3.5.3 -HELM2_VERSION ?= v2.17.0 KUSTOMIZE_VERSION ?= v3.8.8 K8S_VERSION ?= v1.13.12 MINIKUBE_VERSION ?= v0.30.0 @@ -15,7 +14,6 @@ tmp := $(shell mktemp -d) HELM_FILENAME := helm-${HELM_VERSION}-linux-amd64.tar.gz -HELM2_FILENAME := helm-${HELM2_VERSION}-linux-amd64.tar.gz KUSTOMIZE_FILENAME := kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz @@ -28,13 +26,6 @@ sudo mv ${tmp}/linux-amd64/helm /usr/local/bin/ .PHONY: helm -helm2: - curl -sSLo $(tmp)/${HELM2_FILENAME} "https://kubernetes-helm.storage.googleapis.com/${HELM2_FILENAME}" - tar zxf $(tmp)/${HELM2_FILENAME} --directory ${tmp} linux-amd64/helm - chmod +x ${tmp}/linux-amd64/helm - sudo mv ${tmp}/linux-amd64/helm /usr/local/bin/ -.PHONY: helm2 - kustomize: curl -sSLo $(tmp)/${KUSTOMIZE_FILENAME} "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/${KUSTOMIZE_FILENAME}" tar zxf $(tmp)/${KUSTOMIZE_FILENAME} --directory ${tmp} kustomize diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/.circleci/config.yml new/helmfile-0.140.1/.circleci/config.yml --- old/helmfile-0.140.0/.circleci/config.yml 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/.circleci/config.yml 2021-09-14 09:01:34.000000000 +0200 @@ -42,7 +42,7 @@ go mod vendor ORG=roboll BUILD_URL="$CIRCLE_BUILD_URL" make image - image_helm3: + image_debian: docker: - image: circleci/golang:1.16.3 working_directory: /home/circleci/workspace/helmfile @@ -57,7 +57,7 @@ command: | make tools go mod vendor - ORG=roboll BUILD_URL="$CIRCLE_BUILD_URL" make image/helm3 + ORG=roboll BUILD_URL="$CIRCLE_BUILD_URL" make image/debian test: environment: @@ -93,12 +93,7 @@ cp ~/build/helmfile ~/project/helmfile cp ~/build/diff-yamls ~/project/diff-yamls cp ~/build/yamldiff ~/project/yamldiff - if [[ "<< parameters.helm-version >>" == v3* ]] - then - make -C .circleci helm - else - make -C .circleci helm2 - fi + make -C .circleci helm make -C .circleci vault make -C .circleci sops make -C .circleci kustomize @@ -135,7 +130,7 @@ docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" quay.io make tools go mod vendor - ORG=roboll BUILD_URL="$CIRCLE_BUILD_URL" make push push/helm3 release + ORG=roboll BUILD_URL="$CIRCLE_BUILD_URL" make push push/debian release workflows: version: 2 @@ -143,14 +138,14 @@ jobs: - build - image - - image_helm3 + - image_debian - test - integration_tests: requires: - build matrix: parameters: - helm-version: ["v2.17.0", "v3.4.2", "v3.5.4"] + helm-version: ["v3.4.2", "v3.5.4", "v3.6.3"] - release: filters: branches: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/Dockerfile new/helmfile-0.140.1/Dockerfile --- old/helmfile-0.140.0/Dockerfile 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/Dockerfile 2021-09-14 09:01:34.000000000 +0200 @@ -11,17 +11,17 @@ RUN apk add --no-cache ca-certificates git bash curl jq -ARG HELM_VERSION="v2.17.0" -ARG HELM_LOCATION="https://kubernetes-helm.storage.googleapis.com" +ARG HELM_VERSION="v3.6.3" +ARG HELM_SHA256="07c100849925623dc1913209cd1a30f0a9b80a5b4d6ff2153c609d11b043e262" +ARG HELM_LOCATION="https://get.helm.sh" ARG HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz" -ARG HELM_SHA256="f3bec3c7c55f6a9eb9e6586b8c503f370af92fe987fcbf741f37707606d70296" + RUN set -x && \ wget ${HELM_LOCATION}/${HELM_FILENAME} && \ echo Verifying ${HELM_FILENAME}... && \ sha256sum ${HELM_FILENAME} | grep -q "${HELM_SHA256}" && \ echo Extracting ${HELM_FILENAME}... && \ tar zxvf ${HELM_FILENAME} && mv /linux-amd64/helm /usr/local/bin/ && \ - mv /linux-amd64/tiller /usr/local/bin/ && \ rm ${HELM_FILENAME} && rm -r /linux-amd64 # using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ @@ -29,21 +29,28 @@ # we should be able to install using apk add. # the sha256 sum can be found at https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256 # maybe a good idea to automate in the future? -ENV KUBECTL_VERSION="v1.18.9" -ENV KUBECTL_SHA256="6a68756a2d3d04b4d0f52b00de6493ba2c1fcb28b32f3e4a0e99b3d9f6c4e8ed" -RUN set -x & \ +ENV KUBECTL_VERSION="v1.21.4" +ENV KUBECTL_SHA256="9410572396fb31e49d088f9816beaebad7420c7686697578691be1651d3bf85a" +RUN set -x && \ curl --retry 5 --retry-connrefused -LO "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" && \ sha256sum kubectl | grep ${KUBECTL_SHA256} && \ chmod +x kubectl && \ mv kubectl /usr/local/bin/kubectl -RUN ["helm", "init", "--client-only", "--stable-repo-url", "https://charts.helm.sh/stable"] -RUN helm plugin install https://github.com/databus23/helm-diff && \ - helm plugin install https://github.com/futuresimple/helm-secrets && \ - helm plugin install https://github.com/hypnoglow/helm-s3.git && \ - helm plugin install https://github.com/aslafy-z/helm-git.git && \ - helm plugin install https://github.com/rimusz/helm-tiller +ENV KUSTOMIZE_VERSION="v3.8.8" +ENV KUSTOMIZE_SHA256="175938206f23956ec18dac3da0816ea5b5b485a8493a839da278faac82e3c303" +RUN set -x && \ + curl --retry 5 --retry-connrefused -LO https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + sha256sum kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | grep ${KUSTOMIZE_SHA256} && \ + tar zxf kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + rm kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + mv kustomize /usr/local/bin/kustomize + +RUN helm plugin install https://github.com/databus23/helm-diff --version v3.1.3 && \ + helm plugin install https://github.com/jkroepke/helm-secrets --version v3.5.0 && \ + helm plugin install https://github.com/hypnoglow/helm-s3.git --version v0.10.0 && \ + helm plugin install https://github.com/aslafy-z/helm-git.git --version v0.10.0 COPY --from=builder /workspace/helmfile/dist/helmfile_linux_amd64 /usr/local/bin/helmfile -CMD ["/usr/local/bin/helmfile", "--help"] +CMD ["/usr/local/bin/helmfile"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/Dockerfile.debian new/helmfile-0.140.1/Dockerfile.debian --- old/helmfile-0.140.0/Dockerfile.debian 1970-01-01 01:00:00.000000000 +0100 +++ new/helmfile-0.140.1/Dockerfile.debian 2021-09-14 09:01:34.000000000 +0200 @@ -0,0 +1,70 @@ +FROM golang:1.16.7 as builder + +RUN apt-get update \ + && apt-get install --no-install-recommends -y \ + build-essential \ + git \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /workspace/helmfile +COPY . /workspace/helmfile + +RUN make static-linux + +# ----------------------------------------------------------------------------- + +FROM debian:stable-slim + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + ca-certificates \ + git \ + bash \ + curl \ + jq \ + wget \ + && rm -rf /var/lib/apt/lists/* + +ARG HELM_VERSION="v3.6.3" +ARG HELM_SHA256="07c100849925623dc1913209cd1a30f0a9b80a5b4d6ff2153c609d11b043e262" +ARG HELM_LOCATION="https://get.helm.sh" +ARG HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz" + +RUN set -x && \ + wget "${HELM_LOCATION}/${HELM_FILENAME}" && \ + echo "Verifying ${HELM_FILENAME}..." && \ + sha256sum "${HELM_FILENAME}" | grep -q "${HELM_SHA256}" && \ + echo "Extracting ${HELM_FILENAME}..." && \ + tar zxvf "${HELM_FILENAME}" && mv /linux-amd64/helm /usr/local/bin/ && \ + rm ${HELM_FILENAME} && rm -r /linux-amd64 + +# using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ +# for now but in a future version of alpine (in the testing version at the time of writing) +# we should be able to install using apk add. +# the sha256 sum can be found at https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256 +# maybe a good idea to automate in the future? +ENV KUBECTL_VERSION="v1.21.4" +ENV KUBECTL_SHA256="9410572396fb31e49d088f9816beaebad7420c7686697578691be1651d3bf85a" +RUN set -x && \ + wget "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" && \ + sha256sum kubectl | grep ${KUBECTL_SHA256} && \ + chmod +x kubectl && \ + mv kubectl /usr/local/bin/kubectl + +ENV KUSTOMIZE_VERSION="v3.8.8" +ENV KUSTOMIZE_SHA256="175938206f23956ec18dac3da0816ea5b5b485a8493a839da278faac82e3c303" +RUN set -x && \ + curl --retry 5 --retry-connrefused -LO https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + sha256sum kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | grep ${KUSTOMIZE_SHA256} && \ + tar zxf kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + rm kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + mv kustomize /usr/local/bin/kustomize + +RUN helm plugin install https://github.com/databus23/helm-diff --version v3.1.3 && \ + helm plugin install https://github.com/jkroepke/helm-secrets --version v3.5.0 && \ + helm plugin install https://github.com/hypnoglow/helm-s3.git --version v0.10.0 && \ + helm plugin install https://github.com/aslafy-z/helm-git.git --version v0.10.0 + +COPY --from=builder /workspace/helmfile/dist/helmfile_linux_amd64 /usr/local/bin/helmfile + +CMD ["/usr/local/bin/helmfile"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/Dockerfile.helm3.ubuntu new/helmfile-0.140.1/Dockerfile.helm3.ubuntu --- old/helmfile-0.140.0/Dockerfile.helm3.ubuntu 1970-01-01 01:00:00.000000000 +0100 +++ new/helmfile-0.140.1/Dockerfile.helm3.ubuntu 2021-09-14 09:01:34.000000000 +0200 @@ -0,0 +1,63 @@ +FROM golang:1.16.3-buster as builder + +RUN apt update -qq && \ + apt install --no-install-recommends -y make git && \ + rm -rf /var/lib/apt/lists/* +WORKDIR /workspace/helmfile +COPY . /workspace/helmfile +RUN make static-linux + +# ----------------------------------------------------------------------------- + +FROM ubuntu:20.10 + +RUN apt update -qq && \ + apt install --no-install-recommends -y \ + ca-certificates \ + git bash curl jq pip wget && \ + rm -rf /var/lib/apt/lists/* + +ARG HELM_VERSION="v3.5.3" +ARG HELM_LOCATION="https://get.helm.sh" +ARG HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz" +ARG HELM_SHA256="2170a1a644a9e0b863f00c17b761ce33d4323da64fc74562a3a6df2abbf6cd70" +RUN set -x && \ + wget ${HELM_LOCATION}/${HELM_FILENAME} && \ + echo Verifying ${HELM_FILENAME}... && \ + sha256sum ${HELM_FILENAME} | grep -q "${HELM_SHA256}" && \ + echo Extracting ${HELM_FILENAME}... && \ + tar zxvf ${HELM_FILENAME} && mv /linux-amd64/helm /usr/local/bin/ && \ + rm ${HELM_FILENAME} && rm -r /linux-amd64 + +# using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ +# for now but in a future version of alpine (in the testing version at the time of writing) +# we should be able to install using apk add. +# the sha256 sum can be found at https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256 +# maybe a good idea to automate in the future? +ENV KUBECTL_VERSION="v1.18.9" +ENV KUBECTL_SHA256="6a68756a2d3d04b4d0f52b00de6493ba2c1fcb28b32f3e4a0e99b3d9f6c4e8ed" +RUN set -x && \ + curl --retry 5 --retry-connrefused -LO "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" && \ + sha256sum kubectl | grep ${KUBECTL_SHA256} && \ + chmod +x kubectl && \ + mv kubectl /usr/local/bin/kubectl + +ENV KUSTOMIZE_VERSION="v3.8.8" +ENV KUSTOMIZE_SHA256="175938206f23956ec18dac3da0816ea5b5b485a8493a839da278faac82e3c303" +RUN set -x && \ + curl --retry 5 --retry-connrefused -LO https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + sha256sum kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | grep ${KUSTOMIZE_SHA256} && \ + tar zxf kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + rm kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz && \ + mv kustomize /usr/local/bin/kustomize + +RUN pip install sops + +RUN helm plugin install https://github.com/databus23/helm-diff --version v3.1.3 && \ + helm plugin install https://github.com/jkroepke/helm-secrets --version v3.5.0 && \ + helm plugin install https://github.com/hypnoglow/helm-s3.git --version v0.10.0 && \ + helm plugin install https://github.com/aslafy-z/helm-git.git --version v0.10.0 + +COPY --from=builder /workspace/helmfile/dist/helmfile_linux_amd64 /usr/local/bin/helmfile + +CMD ["/usr/local/bin/helmfile"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/Dockerfile.ubuntu new/helmfile-0.140.1/Dockerfile.ubuntu --- old/helmfile-0.140.0/Dockerfile.ubuntu 1970-01-01 01:00:00.000000000 +0100 +++ new/helmfile-0.140.1/Dockerfile.ubuntu 2021-09-14 09:01:34.000000000 +0200 @@ -0,0 +1,57 @@ +FROM golang:1.16.3-buster as builder + +RUN apt update -qq && \ + apt install --no-install-recommends -y make git && \ + rm -rf /var/lib/apt/lists/* +WORKDIR /workspace/helmfile +COPY . /workspace/helmfile +RUN make static-linux + +# ----------------------------------------------------------------------------- + +FROM ubuntu:20.10 + +RUN apt update -qq && \ + apt install --no-install-recommends -y \ + ca-certificates \ + git bash curl jq pip wget && \ + rm -rf /var/lib/apt/lists/* + +ARG HELM_VERSION="v2.17.0" +ARG HELM_LOCATION="https://kubernetes-helm.storage.googleapis.com" +ARG HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz" +ARG HELM_SHA256="f3bec3c7c55f6a9eb9e6586b8c503f370af92fe987fcbf741f37707606d70296" +RUN set -x && \ + wget ${HELM_LOCATION}/${HELM_FILENAME} && \ + echo Verifying ${HELM_FILENAME}... && \ + sha256sum ${HELM_FILENAME} | grep -q "${HELM_SHA256}" && \ + echo Extracting ${HELM_FILENAME}... && \ + tar zxvf ${HELM_FILENAME} && mv /linux-amd64/helm /usr/local/bin/ && \ + mv /linux-amd64/tiller /usr/local/bin/ && \ + rm ${HELM_FILENAME} && rm -r /linux-amd64 + +# using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ +# for now but in a future version of alpine (in the testing version at the time of writing) +# we should be able to install using apk add. +# the sha256 sum can be found at https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256 +# maybe a good idea to automate in the future? +ENV KUBECTL_VERSION="v1.18.9" +ENV KUBECTL_SHA256="6a68756a2d3d04b4d0f52b00de6493ba2c1fcb28b32f3e4a0e99b3d9f6c4e8ed" +RUN set -x & \ + curl --retry 5 --retry-connrefused -LO "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" && \ + sha256sum kubectl | grep ${KUBECTL_SHA256} && \ + chmod +x kubectl && \ + mv kubectl /usr/local/bin/kubectl + +RUN pip install sops + +RUN ["helm", "init", "--client-only", "--stable-repo-url", "https://charts.helm.sh/stable"] +RUN helm plugin install https://github.com/databus23/helm-diff && \ + helm plugin install https://github.com/futuresimple/helm-secrets && \ + helm plugin install https://github.com/hypnoglow/helm-s3.git && \ + helm plugin install https://github.com/aslafy-z/helm-git.git && \ + helm plugin install https://github.com/rimusz/helm-tiller + +COPY --from=builder /workspace/helmfile/dist/helmfile_linux_amd64 /usr/local/bin/helmfile + +CMD ["/usr/local/bin/helmfile", "--help"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/Makefile new/helmfile-0.140.1/Makefile --- old/helmfile-0.140.0/Makefile 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/Makefile 2021-09-14 09:01:34.000000000 +0200 @@ -71,11 +71,11 @@ push: image docker push quay.io/${ORG}/helmfile:${TAG} -image/helm3: - docker build -f Dockerfile.helm3 -t quay.io/${ORG}/helmfile:helm3-${TAG} . +image/debian: + docker build -f Dockerfile.debian -t quay.io/${ORG}/helmfile:${TAG}-stable-slim . -push/helm3: image/helm3 - docker push quay.io/${ORG}/helmfile:helm3-${TAG} +push/debian: image/debian + docker push quay.io/${ORG}/helmfile:${TAG}-stable-slim tools: go get -u github.com/tcnksm/ghr github.com/mitchellh/gox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/README.md new/helmfile-0.140.1/README.md --- old/helmfile-0.140.0/README.md 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/README.md 2021-09-14 09:01:34.000000000 +0200 @@ -284,14 +284,14 @@ # That is, the "production" env below is used when and only when it is run like `helmfile --environment production sync`. production: values: - - environment/production/values.yaml + - environments/production/values.yaml - myChartVer: 1.0.0 # disable vault release processing - vault: enabled: false ## `secrets.yaml` is decrypted by `helm-secrets` and available via `{{ .Environment.Values.KEY }}` secrets: - - environment/production/secrets.yaml + - environments/production/secrets.yaml # Instructs helmfile to fail when unable to find a environment values file listed under `environments.NAME.values`. # # Possible values are "Error", "Warn", "Info", "Debug". The default is "Error". @@ -854,10 +854,12 @@ values: - git::https://git.company.org/helmfiles/global/azure.yaml?ref=master - git::https://git.company.org/helmfiles/global/us-west.yaml?ref=master + - git::https://gitlab.com/org/repository-name.git@/config/config.test.yaml?ref=main # Public Gilab Repo cluster-gcp-europe-west: values: - git::https://git.company.org/helmfiles/global/gcp.yaml?ref=master - git::https://git.company.org/helmfiles/global/europe-west.yaml?ref=master + - git::https://ci:{{ env "CI_JOB_TOKEN" }}@gitlab.com/org/repository-name.git@/config.dev.yaml?ref={{ env "APP_COMMIT_SHA" }} # Private Gitlab Repo --- @@ -865,6 +867,8 @@ - ... ``` +For more information about the supported protocols see: [go-getter Protocol-Specific Options](https://github.com/hashicorp/go-getter#protocol-specific-options-1). + This is particularly useful when you co-locate helmfiles within your project repo but want to reuse the definitions in a global repo. ## Environment Secrets diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/USERS.md new/helmfile-0.140.1/USERS.md --- old/helmfile-0.140.0/USERS.md 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/USERS.md 2021-09-14 09:01:34.000000000 +0200 @@ -30,4 +30,5 @@ | [Trend Micro](https://www.trendmicro.com) | production | We manage 9 k8s clusters in a mono git repository with Helmfile | Taipei, Taiwan | December 2019 | | [William Hill](https://www.williamhill.com) | production | We have standardised on Helmfile for managing both our application services and our Kubernetes platform components. | International | March 2021 | | [The Hyve](https://www.thehyve.nl) | production | We've been using Helmfile since 2019 to deploy [Radar-base applications](https://github.com/RADAR-base/RADAR-Kubernetes). [Blog Post](https://www.thehyve.nl/articles/kubernetes-added-to-radar-base) | Utrecht, Netherlands | April 2021 | +| [IKEA US](https://www.ikea.com) | production | We started using Helmfile this year to shrink the boilerplate involved in deploying or microservices to cloud Kubernetes clusters. | Utrecht, Netherlands | April 2021 | <!-- TABLE_END --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/docs/writing-helmfile.md new/helmfile-0.140.1/docs/writing-helmfile.md --- old/helmfile-0.140.0/docs/writing-helmfile.md 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/docs/writing-helmfile.md 2021-09-14 09:01:34.000000000 +0200 @@ -273,7 +273,7 @@ `helmfile.yaml.gotmpl`: ```yaml -# Part 1: Reused Enviroment Values +# Part 1: Reused Environment Values bases: - myenv.yaml --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/go.mod new/helmfile-0.140.1/go.mod --- old/helmfile-0.140.0/go.mod 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/go.mod 2021-09-14 09:01:34.000000000 +0200 @@ -28,7 +28,7 @@ github.com/spf13/cobra v1.1.1 github.com/tatsushid/go-prettytable v0.0.0-20141013043238-ed2d14c29939 github.com/urfave/cli v1.22.5 - github.com/variantdev/chartify v0.8.9 + github.com/variantdev/chartify v0.9.1 github.com/variantdev/dag v1.0.0 github.com/variantdev/vals v0.14.0 go.uber.org/multierr v1.6.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/go.sum new/helmfile-0.140.1/go.sum --- old/helmfile-0.140.0/go.sum 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/go.sum 2021-09-14 09:01:34.000000000 +0200 @@ -596,6 +596,10 @@ github.com/urfave/cli v1.22.5/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/variantdev/chartify v0.8.9 h1:kECyWario6UOShilDThKfuvk+FhXWjlFod/Cg/wTmVs= github.com/variantdev/chartify v0.8.9/go.mod h1:qF4XzQlkfH/6k2jAi1hLas+lK4zSCa8kY+r5JdmLA68= +github.com/variantdev/chartify v0.9.0 h1:27Bh3RXqBYyev0Xa1JnfD/LWyZu3SL+iHr6ePMzHdMg= +github.com/variantdev/chartify v0.9.0/go.mod h1:qF4XzQlkfH/6k2jAi1hLas+lK4zSCa8kY+r5JdmLA68= +github.com/variantdev/chartify v0.9.1 h1:Mkq2BvtHr42BYf2a14YWkfeSoY/+d1wL2xfap4qH2aY= +github.com/variantdev/chartify v0.9.1/go.mod h1:qF4XzQlkfH/6k2jAi1hLas+lK4zSCa8kY+r5JdmLA68= github.com/variantdev/dag v1.0.0 h1:7SFjATxHtrYV20P3tx53yNDBMegz6RT4jv8JPHqAHdM= github.com/variantdev/dag v1.0.0/go.mod h1:pH1TQsNSLj2uxMo9NNl9zdGy01Wtn+/2MT96BrKmVyE= github.com/variantdev/vals v0.14.0 h1:J+zX1DDLTQ35A198HChVkCwLfA/4OeKhSuZ5zjmgV0Q= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/main.go new/helmfile-0.140.1/main.go --- old/helmfile-0.140.0/main.go 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/main.go 2021-09-14 09:01:34.000000000 +0200 @@ -224,6 +224,11 @@ Value: 0, Usage: "maximum number of concurrent helm processes to run, 0 is unlimited", }, + cli.BoolFlag{ + Name: "validate", + Usage: "validate your manifests against the Kubernetes cluster you are currently pointing at. Note that this requiers access to a Kubernetes cluster to obtain information necessary for validating, like the list of available API versions", + }, + cli.IntFlag{ Name: "context", Value: 0, @@ -271,7 +276,7 @@ }, cli.BoolFlag{ Name: "validate", - Usage: "validate your manifests against the Kubernetes cluster you are currently pointing at", + Usage: "validate your manifests against the Kubernetes cluster you are currently pointing at. Note that this requiers access to a Kubernetes cluster to obtain information necessary for validating, like the list of available API versions", }, cli.BoolFlag{ Name: "include-crds", @@ -445,6 +450,10 @@ Value: 0, Usage: "maximum number of concurrent helm processes to run, 0 is unlimited", }, + cli.BoolFlag{ + Name: "validate", + Usage: "validate your manifests against the Kubernetes cluster you are currently pointing at. Note that this requiers access to a Kubernetes cluster to obtain information necessary for validating, like the list of available API versions", + }, cli.IntFlag{ Name: "context", Value: 0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/pkg/app/app.go new/helmfile-0.140.1/pkg/app/app.go --- old/helmfile-0.140.0/pkg/app/app.go 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/pkg/app/app.go 2021-09-14 09:01:34.000000000 +0200 @@ -172,6 +172,7 @@ SkipRepos: c.SkipDeps(), SkipDeps: c.SkipDeps(), IncludeCRDs: &includeCRDs, + Validate: c.Validate(), }, func() { msg, matched, affected, errs = a.diff(run, c) }) @@ -238,6 +239,7 @@ SkipDeps: c.SkipDeps(), IncludeCRDs: &includeCRDs, SkipCleanup: c.SkipCleanup(), + Validate: c.Validate(), }, func() { ok, errs = a.template(run, c) }) @@ -392,6 +394,7 @@ WaitForJobs: c.WaitForJobs(), IncludeCRDs: &includeCRDs, SkipCleanup: c.RetainValuesFiles() || c.SkipCleanup(), + Validate: c.Validate(), }, func() { matched, updated, es := a.apply(run, c) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/pkg/app/config.go new/helmfile-0.140.1/pkg/app/config.go --- old/helmfile-0.140.0/pkg/app/config.go 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/pkg/app/config.go 2021-09-14 09:01:34.000000000 +0200 @@ -57,6 +57,7 @@ DiffOutput() string RetainValuesFiles() bool + Validate() bool SkipCleanup() bool SkipDiffOnInstall() bool @@ -90,6 +91,7 @@ Values() []string Set() []string + Validate() bool SkipCRDs() bool SkipDeps() bool diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmfile-0.140.0/pkg/state/state.go new/helmfile-0.140.1/pkg/state/state.go --- old/helmfile-0.140.0/pkg/state/state.go 2021-07-26 02:04:11.000000000 +0200 +++ new/helmfile-0.140.1/pkg/state/state.go 2021-09-14 09:01:34.000000000 +0200 @@ -966,10 +966,13 @@ SkipDeps bool SkipResolve bool SkipCleanup bool - IncludeCRDs *bool - Wait bool - WaitForJobs bool - OutputDir string + // Validate is a helm-3-only option. When it is set to true, it configures chartify to pass --validate to helm-template run by it. + // It's required when one of your chart relies on Capabilities.APIVersions in a template + Validate bool + IncludeCRDs *bool + Wait bool + WaitForJobs bool + OutputDir string } type chartPrepareResult struct { @@ -1142,9 +1145,10 @@ if opts.IncludeCRDs != nil { includeCRDs = *opts.IncludeCRDs } - chartifyOpts.IncludeCRDs = includeCRDs + chartifyOpts.Validate = opts.Validate + out, err := c.Chartify(release.Name, chartPath, chartify.WithChartifyOpts(chartifyOpts)) if err != nil { results <- &chartPrepareResult{err: err} @@ -1469,7 +1473,6 @@ if _, err := os.Stat(valfile); os.IsNotExist(err) { return []error{err} } - generatedFiles = append(generatedFiles, valfile) } outputValuesFile, err := st.GenerateOutputFilePath(release, opts.OutputFileTemplate) @@ -1485,7 +1488,7 @@ merged := map[string]interface{}{} - for _, f := range generatedFiles { + for _, f := range append(generatedFiles, additionalValues...) { src := map[string]interface{}{} srcBytes, err := st.readFile(f) ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/helmfile/vendor.tar.gz /work/SRC/openSUSE:Factory/.helmfile.new.1899/vendor.tar.gz differ: char 5, line 1
