diff --git a/content/posts/14-a-beautiful-gitops-day-4/index.md b/content/posts/14-a-beautiful-gitops-day-4/index.md index 857a417..2c02f2d 100644 --- a/content/posts/14-a-beautiful-gitops-day-4/index.md +++ b/content/posts/14-a-beautiful-gitops-day-4/index.md @@ -125,7 +125,8 @@ provider "flux" { } resource "flux_bootstrap_git" "this" { - path = "clusters/demo" + path = "clusters/demo" + embedded_manifests = true components_extra = [ "image-reflector-controller", @@ -152,7 +153,7 @@ Open `demo-kube-flux` project and create helm deployment for sealed secret. ```yaml --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: sealed-secrets @@ -161,7 +162,7 @@ spec: interval: 1h0m0s url: https://bitnami-labs.github.io/sealed-secrets --- -apiVersion: helm.toolkit.fluxcd.io/v2beta1 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: sealed-secrets diff --git a/content/posts/17-a-beautiful-gitops-day-7/index.md b/content/posts/17-a-beautiful-gitops-day-7/index.md index 1d73915..f267968 100644 --- a/content/posts/17-a-beautiful-gitops-day-7/index.md +++ b/content/posts/17-a-beautiful-gitops-day-7/index.md @@ -432,7 +432,7 @@ Let's define the image update automation task for main Flux repository: {{< highlight host="demo-kube-flux" file="clusters/demo/flux-add-ons/image-update-automation.yaml" >}} ```yaml -apiVersion: image.toolkit.fluxcd.io/v1beta1 +apiVersion: image.toolkit.fluxcd.io/v1beta2 kind: ImageUpdateAutomation metadata: name: flux-system @@ -465,7 +465,7 @@ Now we need to tell Image Reflector how to scan the repository, as well as the a {{< highlight host="demo-kube-flux" file="clusters/demo/kuberocks/images-demo.yaml" >}} ```yaml -apiVersion: image.toolkit.fluxcd.io/v1beta1 +apiVersion: image.toolkit.fluxcd.io/v1beta2 kind: ImageRepository metadata: name: demo @@ -476,7 +476,7 @@ spec: secretRef: name: dockerconfigjson --- -apiVersion: image.toolkit.fluxcd.io/v1beta1 +apiVersion: image.toolkit.fluxcd.io/v1beta2 kind: ImagePolicy metadata: name: demo diff --git a/content/posts/20-a-beautiful-gitops-day-10/index.md b/content/posts/20-a-beautiful-gitops-day-10/index.md index 0168043..c719f5c 100644 --- a/content/posts/20-a-beautiful-gitops-day-10/index.md +++ b/content/posts/20-a-beautiful-gitops-day-10/index.md @@ -29,7 +29,7 @@ kind: Namespace metadata: name: sonarqube --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: sonarqube @@ -38,7 +38,7 @@ spec: interval: 1h0m0s url: https://SonarSource.github.io/helm-chart-sonarqube --- -apiVersion: helm.toolkit.fluxcd.io/v2beta1 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: sonarqube diff --git a/content/posts/21-a-beautiful-gitops-day-11/index.md b/content/posts/21-a-beautiful-gitops-day-11/index.md index 5a6c7c6..64c14e3 100644 --- a/content/posts/21-a-beautiful-gitops-day-11/index.md +++ b/content/posts/21-a-beautiful-gitops-day-11/index.md @@ -880,7 +880,7 @@ After push all CI should build correctly. Then the image policy for auto update: {{< highlight host="demo-kube-flux" file="clusters/demo/kuberocks/images-demo-ui.yaml" >}} ```yml -apiVersion: image.toolkit.fluxcd.io/v1beta1 +apiVersion: image.toolkit.fluxcd.io/v1beta2 kind: ImageRepository metadata: name: demo-ui @@ -891,7 +891,7 @@ spec: secretRef: name: dockerconfigjson --- -apiVersion: image.toolkit.fluxcd.io/v1beta1 +apiVersion: image.toolkit.fluxcd.io/v1beta2 kind: ImagePolicy metadata: name: demo-ui