Release v0.9.0

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2021-02-24 12:27:41 +02:00
parent d7d5bc1fd5
commit f375697690
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
4 changed files with 37 additions and 11 deletions

View File

@ -4,6 +4,9 @@ on:
tags:
- 'v*'
env:
CONTROLLER: ${{ github.event.repository.name }}
jobs:
build-push:
runs-on: ubuntu-latest
@ -49,8 +52,8 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
ghcr.io/fluxcd/kustomize-controller:${{ steps.prep.outputs.VERSION }}
docker.io/fluxcd/kustomize-controller:${{ steps.prep.outputs.VERSION }}
ghcr.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
docker.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
labels: |
org.opencontainers.image.title=${{ github.event.repository.name }}
org.opencontainers.image.description=${{ github.event.repository.description }}
@ -60,15 +63,15 @@ jobs:
org.opencontainers.image.created=${{ steps.prep.outputs.BUILD_DATE }}
- name: Check images
run: |
docker buildx imagetools inspect docker.io/fluxcd/kustomize-controller:${{ steps.prep.outputs.VERSION }}
docker buildx imagetools inspect ghcr.io/fluxcd/kustomize-controller:${{ steps.prep.outputs.VERSION }}
docker pull docker.io/fluxcd/kustomize-controller:${{ steps.prep.outputs.VERSION }}
docker pull ghcr.io/fluxcd/kustomize-controller:${{ steps.prep.outputs.VERSION }}
docker buildx imagetools inspect docker.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
docker buildx imagetools inspect ghcr.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
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
run: |
mkdir -p config/release
kustomize build ./config/crd > ./config/release/kustomize-controller.crds.yaml
kustomize build ./config/manager > ./config/release/kustomize-controller.deployment.yaml
kustomize build ./config/crd > ./config/release/${{ env.CONTROLLER }}.crds.yaml
kustomize build ./config/manager > ./config/release/${{ env.CONTROLLER }}.deployment.yaml
- name: Create release
uses: ncipollo/release-action@v1
with:
@ -76,5 +79,5 @@ jobs:
artifacts: "config/release/*.yaml"
artifactContentType: "text/plain"
body: |
[CHANGELOG](https://github.com/fluxcd/kustomize-controller/blob/main/CHANGELOG.md)
[CHANGELOG](https://github.com/fluxcd/${{ env.CONTROLLER }}/blob/main/CHANGELOG.md)
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -2,6 +2,29 @@
All notable changes to this project are documented in this file.
## 0.9.0
**Release date:** 2021-02-24
This is the ninth MINOR prerelease.
This prerelease comes with support for recreating Kubernetes objects
(e.g. Jobs) when immutable fields are changed in Git.
Features:
* Add support for recreating objects when immutable fields are updated
[#271](https://github.com/fluxcd/kustomize-controller/pull/271)
Improvements:
* Extracting validation error from apply dry run output
[#280](https://github.com/fluxcd/kustomize-controller/pull/280)
* Update kubectl to v1.20.4
[#283](https://github.com/fluxcd/kustomize-controller/pull/283)
Fixes:
* Avoid prompts on SOPS key import by adding batch flag to gpg
[#281](https://github.com/fluxcd/kustomize-controller/pull/281)
## 0.8.1
**Release date:** 2021-02-18

View File

@ -5,4 +5,4 @@ resources:
images:
- name: fluxcd/kustomize-controller
newName: fluxcd/kustomize-controller
newTag: v0.8.1
newTag: v0.9.0

2
go.mod
View File

@ -7,7 +7,7 @@ replace github.com/fluxcd/kustomize-controller/api => ./api
require (
github.com/cyphar/filepath-securejoin v0.2.2
github.com/drone/envsubst v1.0.3-0.20200804185402-58bc65f69603
github.com/fluxcd/kustomize-controller/api v0.8.1
github.com/fluxcd/kustomize-controller/api v0.9.0
github.com/fluxcd/pkg/apis/kustomize v0.0.1
github.com/fluxcd/pkg/apis/meta v0.8.0
github.com/fluxcd/pkg/runtime v0.8.3