From 5d83bd4d9336383581e406670f70cede17bea0e9 Mon Sep 17 00:00:00 2001 From: Michael Malov <14035243+malovme@users.noreply.github.com> Date: Tue, 24 Sep 2024 22:20:12 +0200 Subject: [PATCH] docs: pin CRDs version in FluxCD example, bump api versions (#3940) Signed-off-by: Michael Malov <14035243+malovme@users.noreply.github.com> --- docs/snippets/gitops/deployment-crds.yaml | 2 +- docs/snippets/gitops/deployment-crs.yaml | 2 +- docs/snippets/gitops/deployment.yaml | 8 ++++---- docs/snippets/gitops/repositories.yaml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/snippets/gitops/deployment-crds.yaml b/docs/snippets/gitops/deployment-crds.yaml index ace826d1a..5377a2f33 100644 --- a/docs/snippets/gitops/deployment-crds.yaml +++ b/docs/snippets/gitops/deployment-crds.yaml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: external-secrets-crds diff --git a/docs/snippets/gitops/deployment-crs.yaml b/docs/snippets/gitops/deployment-crs.yaml index 2e971b3ed..7ba7f5dbd 100644 --- a/docs/snippets/gitops/deployment-crs.yaml +++ b/docs/snippets/gitops/deployment-crs.yaml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: external-secrets-crs diff --git a/docs/snippets/gitops/deployment.yaml b/docs/snippets/gitops/deployment.yaml index 6caeeb897..30aea415e 100644 --- a/docs/snippets/gitops/deployment.yaml +++ b/docs/snippets/gitops/deployment.yaml @@ -1,21 +1,21 @@ # How to manage values files. Ref: https://fluxcd.io/docs/guides/helmreleases/#refer-to-values-inside-the-chart # How to inject values: https://fluxcd.io/docs/guides/helmreleases/#cloud-storage --- -apiVersion: helm.toolkit.fluxcd.io/v2beta1 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: external-secrets namespace: flux-system spec: # Override Release name to avoid the pattern Namespace-Release - # Ref: https://fluxcd.io/docs/components/helm/api/#helm.toolkit.fluxcd.io/v2beta1.HelmRelease + # Ref: https://fluxcd.io/flux/components/helm/api/v2/#helm.toolkit.fluxcd.io/v2.HelmRelease releaseName: external-secrets targetNamespace: external-secrets interval: 10m chart: spec: chart: external-secrets - version: 0.9.4 + version: 0.10.3 sourceRef: kind: HelmRepository name: external-secrets @@ -23,6 +23,6 @@ spec: values: installCRDs: false - # Ref: https://fluxcd.io/docs/components/helm/api/#helm.toolkit.fluxcd.io/v2beta1.Install + # Ref: https://fluxcd.io/flux/components/helm/api/v2/#helm.toolkit.fluxcd.io/v2.Install install: createNamespace: true diff --git a/docs/snippets/gitops/repositories.yaml b/docs/snippets/gitops/repositories.yaml index 845ee5d3f..27d51c18e 100644 --- a/docs/snippets/gitops/repositories.yaml +++ b/docs/snippets/gitops/repositories.yaml @@ -1,5 +1,5 @@ # Reference to Helm repository -apiVersion: source.toolkit.fluxcd.io/v1beta1 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: external-secrets @@ -8,7 +8,7 @@ spec: interval: 10m url: https://charts.external-secrets.io --- -apiVersion: source.toolkit.fluxcd.io/v1beta1 +apiVersion: source.toolkit.fluxcd.io/v1 kind: GitRepository metadata: name: external-secrets @@ -16,5 +16,5 @@ metadata: spec: interval: 10m ref: - branch: main + tag: v0.10.3 url: http://github.com/external-secrets/external-secrets