From 356158553b67a734e042c96d3c97f09ed522139d Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Wed, 23 Mar 2022 16:32:26 +0100 Subject: [PATCH] Release v0.12.0 Signed-off-by: Hidde Beydals --- CHANGELOG.md | 25 +++++++++++++++++++++++++ docs/data-sources/install.md | 2 +- pkg/provider/data_install.go | 2 +- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 115b82fb..e4ade2cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ All notable changes to this project are documented in this file. +## 0.12.0 + +**Release date:** 2022-03-23 + +This prerelease includes flux2 [v0.28.2](https://github.com/fluxcd/flux2/releases/tag/v0.28.2). + +Flux v0.28 comes with breaking changes, new features, and bug fixes. +Please see the [Upgrade Flux to the Source v1beta2 API](https://github.com/fluxcd/flux2/discussions/2567) +discussion for more details. + +### Breaking changes + +With the introduction of Source v1beta2, there is a breaking change that +requires a manual state update. + +All that is required is to remove the `kubectl_manifest` resource for the +GitRepository manifest. This will cause the kubectl provider to overwrite the +existing manifest. + +```shell +terraform state rm 'kubectl_manifest.sync["source.toolkit.fluxcd.io/v1beta1/gitrepository/flux-system/flux-system"]' +``` + +Future versions of the provider will solve this long term. + ## 0.11.3 **Release date:** 2022-03-15 diff --git a/docs/data-sources/install.md b/docs/data-sources/install.md index d21392bd..f6a6a303 100644 --- a/docs/data-sources/install.md +++ b/docs/data-sources/install.md @@ -41,7 +41,7 @@ data "flux_install" "main" { - `network_policy` (Boolean) Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to `true`. - `registry` (String) Container registry where the toolkit images are published. Defaults to `ghcr.io/fluxcd`. - `toleration_keys` (Set of String) List of toleration keys used to schedule the components pods onto nodes with matching taints. -- `version` (String) Flux version. Defaults to `v0.27.4`. +- `version` (String) Flux version. Defaults to `v0.28.2`. - `watch_all_namespaces` (Boolean) If true watch for custom resources in all namespaces. Defaults to `true`. ### Read-Only diff --git a/pkg/provider/data_install.go b/pkg/provider/data_install.go index 5fbe0d13..7af48811 100644 --- a/pkg/provider/data_install.go +++ b/pkg/provider/data_install.go @@ -47,7 +47,7 @@ func DataInstall() *schema.Resource { Description: "Flux version.", Type: schema.TypeString, Optional: true, - Default: "v0.27.4", + Default: "v0.28.2", ValidateFunc: func(val interface{}, key string) ([]string, []error) { errs := []error{} v := val.(string)