diff --git a/CHANGELOG.md b/CHANGELOG.md index bbd6986e..8fc05823 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,26 @@ All notable changes to this project are documented in this file. +## 0.5.2 + +**Release date:** 2020-12-16 + +This prerelease comes with improvements to garbage collection +and adds safe guards for relative paths. + +The `Path` field was marked as optional, when not specified, +it defaults to the root path of the `SourceRef`. + +Health checking and garbage collection for `HelmReleases` +and other custom resources were fixed by downgrading +to `controller-runtime` v0.6.3. + +Improvements: +* Refactor garbage collection + [#210](https://github.com/fluxcd/kustomize-controller/pull/210) +* Make Path field optional and add safe guards for relative paths + [#211](https://github.com/fluxcd/kustomize-controller/pull/211) + ## 0.5.1 **Release date:** 2020-12-14 diff --git a/Makefile b/Makefile index 66d2a18b..46325931 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ IMG ?= fluxcd/kustomize-controller:latest # Produce CRDs that work back to Kubernetes 1.16 CRD_OPTIONS ?= crd:crdVersions=v1 -SOURCE_VER ?= v0.5.4 +SOURCE_VER ?= v0.5.5 # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) ifeq (,$(shell go env GOBIN)) diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index fcc842c4..f605de6e 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -5,6 +5,6 @@ resources: - ../crd - ../rbac - ../manager -- github.com/fluxcd/source-controller/config//crd?ref=v0.5.4 -- github.com/fluxcd/source-controller/config//manager?ref=v0.5.4 +- github.com/fluxcd/source-controller/config//crd?ref=v0.5.5 +- github.com/fluxcd/source-controller/config//manager?ref=v0.5.5 - namespace.yaml diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 3df29cec..b0021b8c 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ resources: images: - name: fluxcd/kustomize-controller newName: fluxcd/kustomize-controller - newTag: v0.5.1 + newTag: v0.5.2 diff --git a/go.mod b/go.mod index e1dc18c4..c277d897 100644 --- a/go.mod +++ b/go.mod @@ -6,12 +6,12 @@ replace github.com/fluxcd/kustomize-controller/api => ./api require ( github.com/cyphar/filepath-securejoin v0.2.2 - github.com/fluxcd/kustomize-controller/api v0.5.1 + github.com/fluxcd/kustomize-controller/api v0.5.2 github.com/fluxcd/pkg/apis/meta v0.5.0 github.com/fluxcd/pkg/runtime v0.4.0 github.com/fluxcd/pkg/testserver v0.0.2 github.com/fluxcd/pkg/untar v0.0.5 - github.com/fluxcd/source-controller/api v0.5.4 + github.com/fluxcd/source-controller/api v0.5.5 github.com/go-logr/logr v0.2.1 github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c github.com/onsi/ginkgo v1.12.1 diff --git a/go.sum b/go.sum index 47068bb2..a39643e1 100644 --- a/go.sum +++ b/go.sum @@ -170,8 +170,8 @@ github.com/fluxcd/pkg/testserver v0.0.2 h1:SoaMtO9cE5p/wl2zkGudzflnEHd9mk68CGjZO github.com/fluxcd/pkg/testserver v0.0.2/go.mod h1:pgUZTh9aQ44FSTQo+5NFlh7YMbUfdz1B80DalW7k96Y= github.com/fluxcd/pkg/untar v0.0.5 h1:UGI3Ch1UIEIaqQvMicmImL1s9npQa64DJ/ozqHKB7gk= github.com/fluxcd/pkg/untar v0.0.5/go.mod h1:O6V9+rtl8c1mHBafgqFlJN6zkF1HS5SSYn7RpQJ/nfw= -github.com/fluxcd/source-controller/api v0.5.4 h1:V3SzxbBDLULPWBD9nObJqXovCU5TZka8R/vrDIgomj4= -github.com/fluxcd/source-controller/api v0.5.4/go.mod h1:/mpW0EM2dUnRey6rffqsSmgNkSAYm+zq9i0GfmTO7I0= +github.com/fluxcd/source-controller/api v0.5.5 h1:F6xmaKSks8YaETG8IEocpJQ1g07JbaJiVJAqmM2jP0M= +github.com/fluxcd/source-controller/api v0.5.5/go.mod h1:/mpW0EM2dUnRey6rffqsSmgNkSAYm+zq9i0GfmTO7I0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=