Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fluxcd/helm-controller
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.1
Choose a base ref
...
head repository: fluxcd/helm-controller
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.0
Choose a head ref
  • 13 commits
  • 20 files changed
  • 5 contributors

Commits on May 22, 2021

  1. Fix HelmChartTemplateSpec missing valuesFiles info

    Signed-off-by: Filinto Duran <duranto@gmail.com>
    filintod committed May 22, 2021
    Copy the full SHA
    261fc6b View commit details

Commits on May 24, 2021

  1. Merge pull request #266 from filintod/fix-helm-release-spec-doc-values

    Fix HelmChartTemplateSpec Doc missing valuesFiles info
    stefanprodan authored May 24, 2021
    Copy the full SHA
    577925c View commit details

Commits on Jun 1, 2021

  1. Added support for helm waitForJobs

    Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>
    
    Added support for helm waitForJobs
    
    Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>
    
    Minor fixes
    
    Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>
    
    Changed WaitForJobs to DisableWaitForJobs
    
    Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>
    
    Minor fixes
    
    Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>
    
    Changed WaitForJobs to DisableWaitForJobs
    
    Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>
    
    Removed unnecessary update to v2alpha1
    
    Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>
    kewats committed Jun 1, 2021
    Copy the full SHA
    f48b8ab View commit details
  2. Merge pull request #271 from kewats/main

    Add support for Helm `--wait-for-jobs` flag
    hiddeco authored Jun 1, 2021
    Copy the full SHA
    e25d689 View commit details

Commits on Jun 9, 2021

  1. Add nightly builds workflow and allow RC releases

    Changes to CI:
    - Add nightly builds workflow
    - Allow publishing release candidate images
    
    Signed-off-by: Hidde Beydals <hello@hidde.co>
    hiddeco committed Jun 9, 2021
    Copy the full SHA
    0ef0a8f View commit details
  2. Update kind version in e2e workflow to v0.11.1

    Signed-off-by: Hidde Beydals <hello@hidde.co>
    hiddeco committed Jun 9, 2021
    Copy the full SHA
    418fffa View commit details
  3. Copy the full SHA
    0c8958d View commit details
  4. Update dependencies

    Controller-runtime has been updated to `v0.9.0`, K8s dependencies to
    `v0.21.1`, and all `fluxcd/pkg` and other dependencies to the versions
    that have matching dependencies and/or build constraints.
    
    This includes an update of Helm to `v3.6.0`, and an update of the
    Kustomize API to match `v4.1.x`.
    
    Signed-off-by: Hidde Beydals <hello@hidde.co>
    hiddeco committed Jun 9, 2021
    Copy the full SHA
    44ea1d9 View commit details
  5. Update Go requirements and versions to v1.16.x

    Signed-off-by: Hidde Beydals <hello@hidde.co>
    hiddeco committed Jun 9, 2021
    Copy the full SHA
    b2bbe9c View commit details
  6. Enquote annotations in expected test result

    Enquoting int variables as annotations is beter, and the result of an
    upstream patch.
    
    Signed-off-by: Hidde Beydals <hello@hidde.co>
    hiddeco committed Jun 9, 2021
    Copy the full SHA
    5f3d3ec View commit details
  7. Copy the full SHA
    92b8183 View commit details
  8. Release v0.11.0

    Signed-off-by: Hidde Beydals <hello@hidde.co>
    hiddeco committed Jun 9, 2021
    Copy the full SHA
    15fb2dd View commit details
  9. Merge pull request #275 from fluxcd/release-v0.11.0

    Release v0.11.0
    hiddeco authored Jun 9, 2021
    Copy the full SHA
    1bfe1d9 View commit details
4 changes: 3 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -23,9 +23,11 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.15.x
go-version: 1.16.x
- name: Setup Kubernetes
uses: engineerd/setup-kind@v0.5.0
with:
version: "v0.11.1"
- name: Setup Helm
uses: fluxcd/pkg/actions/helm@main
- name: Setup Kustomize
33 changes: 33 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: nightly
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

env:
REPOSITORY: ${{ github.repository }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
buildkitd-flags: "--debug"
- name: Build multi-arch container image
uses: docker/build-push-action@v2
with:
push: false
builder: ${{ steps.buildx.outputs.name }}
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
${{ env.REPOSITORY }}:nightly
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,12 @@ on:
push:
tags:
- 'v*'
workflow_dispatch:
inputs:
tag:
description: 'image tag prefix'
default: 'rc'
required: true

env:
CONTROLLER: ${{ github.event.repository.name }}
@@ -17,7 +23,7 @@ jobs:
- name: Prepare
id: prep
run: |
VERSION=sha-${GITHUB_SHA::8}
VERSION="${{ github.event.inputs.tag }}-${GITHUB_SHA::8}"
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF/refs\/tags\//}
fi
@@ -68,11 +74,13 @@ jobs:
docker pull docker.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
docker pull ghcr.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
- name: Generate release manifests
if: startsWith(github.ref, 'refs/tags/v')
run: |
mkdir -p config/release
kustomize build ./config/crd > ./config/release/${{ env.CONTROLLER }}.crds.yaml
kustomize build ./config/manager > ./config/release/${{ env.CONTROLLER }}.deployment.yaml
- name: Create release
if: startsWith(github.ref, 'refs/tags/v')
uses: ncipollo/release-action@v1
with:
prerelease: true
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## 0.11.0

**Release date:** 2021-06-09

This prerelease comes with an update to the Kubernetes and controller-runtime
dependencies to align them with the Kubernetes 1.21 release, including an update
of Helm to `v3.6.0`.

It introduces breaking changes to the Helm behavior as the `--wait-for-jobs`
flag that was introduced in Helm `v3.5.0` is now enabled by default. Disabling
this behavior is possible by declaring `spec.<install|upgrade|rollback>.disableWaitForJobs: true`
in a `HelmRelease`.

Improvements:
* Add support for Helm `--wait-for-jobs` flag
[#271](https://github.com/fluxcd/helm-controller/pull/271)
* Update dependencies
[#273](https://github.com/fluxcd/helm-controller/pull/273)
* Add nightly builds workflow and allow RC releases
[#274](https://github.com/fluxcd/helm-controller/pull/274)

Fixes:
* Fix HelmChartTemplateSpec Doc missing valuesFiles info
[#266](https://github.com/fluxcd/helm-controller/pull/266)

## 0.10.1

**Release date:** 2021-05-10
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Docker buildkit multi-arch build requires golang alpine
FROM golang:1.15-alpine as builder
FROM golang:1.16-alpine as builder

WORKDIR /workspace

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1 ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen
@@ -112,7 +112,7 @@ ifeq (, $(shell which gen-crd-api-reference-docs))
API_REF_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$API_REF_GEN_TMP_DIR ;\
go mod init tmp ;\
go get github.com/ahmetb/gen-crd-api-reference-docs@v0.2.0 ;\
go get github.com/ahmetb/gen-crd-api-reference-docs@v0.3.0 ;\
rm -rf $$API_REF_GEN_TMP_DIR ;\
}
API_REF_GEN=$(GOBIN)/gen-crd-api-reference-docs
14 changes: 7 additions & 7 deletions api/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/fluxcd/helm-controller/api

go 1.15
go 1.16

require (
github.com/fluxcd/pkg/apis/kustomize v0.0.1
github.com/fluxcd/pkg/apis/meta v0.9.0
github.com/fluxcd/pkg/runtime v0.11.0
k8s.io/apiextensions-apiserver v0.20.2
k8s.io/apimachinery v0.20.2
sigs.k8s.io/controller-runtime v0.8.3
github.com/fluxcd/pkg/apis/kustomize v0.1.0
github.com/fluxcd/pkg/apis/meta v0.10.0
github.com/fluxcd/pkg/runtime v0.12.0
k8s.io/apiextensions-apiserver v0.21.1
k8s.io/apimachinery v0.21.1
sigs.k8s.io/controller-runtime v0.9.0
)
Loading