Skip to content

Commit d01a0b6

Browse files
committed
Release v0.6.3
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
1 parent 3a09ac6 commit d01a0b6

7 files changed

Lines changed: 34 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project are documented in this file.
44

5+
## 0.6.3
6+
7+
**Release date:** 2021-01-19
8+
9+
This prerelease comes with fixes to the kustomize build procedure by disabling kyaml.
10+
The Kubernetes packages were updated to v1.20.2 and kustomize/api to v0.7.2.
11+
12+
Improvements:
13+
* Update kustomize/api to v0.7.2 and disable kyaml
14+
[#241](https://github.com/fluxcd/kustomize-controller/pull/241)
15+
* Update Kubernetes packages to v1.20.2
16+
[#240](https://github.com/fluxcd/kustomize-controller/pull/240)
17+
518
## 0.6.2
619

720
**Release date:** 2021-01-15

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
IMG ?= fluxcd/kustomize-controller:latest
33
# Produce CRDs that work back to Kubernetes 1.16
44
CRD_OPTIONS ?= crd:crdVersions=v1
5-
SOURCE_VER ?= v0.6.2
5+
SOURCE_VER ?= v0.6.3
66

77
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
88
ifeq (,$(shell go env GOBIN))

config/default/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ resources:
55
- ../crd
66
- ../rbac
77
- ../manager
8-
- github.com/fluxcd/source-controller/config//crd?ref=v0.6.2
9-
- github.com/fluxcd/source-controller/config//manager?ref=v0.6.2
8+
- github.com/fluxcd/source-controller/config//crd?ref=v0.6.3
9+
- github.com/fluxcd/source-controller/config//manager?ref=v0.6.3
1010
- namespace.yaml

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ resources:
55
images:
66
- name: fluxcd/kustomize-controller
77
newName: fluxcd/kustomize-controller
8-
newTag: v0.6.2
8+
newTag: v0.6.3

docs/spec/v1beta1/kustomization.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,6 @@ const (
188188
// reconciliation of the Kustomization is underway.
189189
ProgressingReason string = "Progressing"
190190

191-
// SuspendedReason represents the fact that the
192-
// reconciliation of the Kustomization has been suspended.
193-
SuspendedReason string = "Suspended"
194-
195191
// DependencyNotReady represents the fact that
196192
// one of the dependencies of the Kustomization is not ready.
197193
DependencyNotReadyReason string = "DependencyNotReady"
@@ -260,8 +256,19 @@ spec:
260256
.gitlab-ci.yml
261257
```
262258
263-
If the `spec.prune` is enable, the controller generates a label transformer to enable
264-
[garbage collection](#garbage-collection).
259+
It is recommended to generate the `kustomization.yaml` on your own and store it in Git, this way you can
260+
validate your manifests in CI (example script [here](https://github.com/fluxcd/flux2-multi-tenancy/blob/main/scripts/validate.sh)).
261+
Assuming your manifests are inside `./clusters/my-cluster`, you can generate a `kustomization.yaml` with:
262+
263+
```sh
264+
cd clusters/my-cluster
265+
266+
# create kustomization
267+
kustomize create --autodetect --recursive
268+
269+
# validate kustomization
270+
kustomize build | kubeval --ignore-missing-schemas
271+
```
265272

266273
## Reconciliation
267274

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ replace github.com/fluxcd/kustomize-controller/api => ./api
66

77
require (
88
github.com/cyphar/filepath-securejoin v0.2.2
9-
github.com/fluxcd/kustomize-controller/api v0.6.2
9+
github.com/fluxcd/kustomize-controller/api v0.6.3
1010
github.com/fluxcd/pkg/apis/meta v0.6.0
1111
github.com/fluxcd/pkg/runtime v0.7.0
1212
github.com/fluxcd/pkg/testserver v0.0.2
1313
github.com/fluxcd/pkg/untar v0.0.5
14-
github.com/fluxcd/source-controller/api v0.6.2
14+
github.com/fluxcd/source-controller/api v0.6.3
1515
github.com/go-logr/logr v0.3.0
1616
github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c
1717
github.com/onsi/ginkgo v1.14.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ github.com/fluxcd/pkg/testserver v0.0.2 h1:SoaMtO9cE5p/wl2zkGudzflnEHd9mk68CGjZO
197197
github.com/fluxcd/pkg/testserver v0.0.2/go.mod h1:pgUZTh9aQ44FSTQo+5NFlh7YMbUfdz1B80DalW7k96Y=
198198
github.com/fluxcd/pkg/untar v0.0.5 h1:UGI3Ch1UIEIaqQvMicmImL1s9npQa64DJ/ozqHKB7gk=
199199
github.com/fluxcd/pkg/untar v0.0.5/go.mod h1:O6V9+rtl8c1mHBafgqFlJN6zkF1HS5SSYn7RpQJ/nfw=
200-
github.com/fluxcd/source-controller/api v0.6.2 h1:xgKZg0Ajeh/jPPePZJriDUgzxgCXIFBPqZso9obtpko=
201-
github.com/fluxcd/source-controller/api v0.6.2/go.mod h1:LzLXD6RfQ+4Es+gUuIZE4NCSW2WkWIK91EnVBCMvbQw=
200+
github.com/fluxcd/source-controller/api v0.6.3 h1:i/NF0zXHp03gB9895LW0opNvW1QnNr3bFcANqHZJL64=
201+
github.com/fluxcd/source-controller/api v0.6.3/go.mod h1:LzLXD6RfQ+4Es+gUuIZE4NCSW2WkWIK91EnVBCMvbQw=
202202
github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk=
203203
github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
204204
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=

0 commit comments

Comments
 (0)