diff --git a/README.md b/README.md index 51d2ff6b1..060a79e64 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ upgrade the Helm releases to their latest chart version based on semver ranges. ## Prerequisites -You will need a Kubernetes cluster version 1.21 or newer. +You will need a Kubernetes cluster version 1.28 or newer. For a quick local test, you can use [Kubernetes kind](https://kind.sigs.k8s.io/docs/user/quick-start/). Any other Kubernetes setup will work as well though. @@ -82,7 +82,7 @@ The apps configuration is structured into: In **apps/base/podinfo/** dir we have a Flux `HelmRelease` with common values for both clusters: ```yaml -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: podinfo @@ -106,7 +106,7 @@ spec: In **apps/staging/** dir we have a Kustomize patch with the staging specific values: ```yaml -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: podinfo @@ -128,7 +128,7 @@ the `HelmRelease` to the latest chart version including alpha, beta and pre-rele In **apps/production/** dir we have a Kustomize patch with the production specific values: ```yaml -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: podinfo @@ -167,7 +167,7 @@ The infrastructure is structured into: In **infrastructure/controllers/** dir we have the Flux `HelmRepository` and `HelmRelease` definitions such as: ```yaml -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: cert-manager diff --git a/apps/base/podinfo/release.yaml b/apps/base/podinfo/release.yaml index 9decfd1d8..b85c8922c 100644 --- a/apps/base/podinfo/release.yaml +++ b/apps/base/podinfo/release.yaml @@ -1,4 +1,4 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: podinfo diff --git a/apps/base/podinfo/repository.yaml b/apps/base/podinfo/repository.yaml index 1cfb34b90..8ee1fefe1 100644 --- a/apps/base/podinfo/repository.yaml +++ b/apps/base/podinfo/repository.yaml @@ -1,4 +1,4 @@ -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: podinfo diff --git a/apps/production/podinfo-values.yaml b/apps/production/podinfo-values.yaml index 98a230d5c..dff5d6e6c 100644 --- a/apps/production/podinfo-values.yaml +++ b/apps/production/podinfo-values.yaml @@ -1,4 +1,4 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: podinfo diff --git a/apps/staging/podinfo-values.yaml b/apps/staging/podinfo-values.yaml index eb3f9af30..86f35a6cf 100644 --- a/apps/staging/podinfo-values.yaml +++ b/apps/staging/podinfo-values.yaml @@ -1,4 +1,4 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: podinfo diff --git a/infrastructure/controllers/cert-manager.yaml b/infrastructure/controllers/cert-manager.yaml index 8b26a3234..6e9a93cc4 100644 --- a/infrastructure/controllers/cert-manager.yaml +++ b/infrastructure/controllers/cert-manager.yaml @@ -6,7 +6,7 @@ metadata: labels: toolkit.fluxcd.io/tenant: sre-team --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: cert-manager @@ -15,7 +15,7 @@ spec: interval: 24h url: https://charts.jetstack.io --- -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: cert-manager diff --git a/infrastructure/controllers/ingress-nginx.yaml b/infrastructure/controllers/ingress-nginx.yaml index 5ab5a606f..0121f9eb9 100644 --- a/infrastructure/controllers/ingress-nginx.yaml +++ b/infrastructure/controllers/ingress-nginx.yaml @@ -6,7 +6,7 @@ metadata: labels: toolkit.fluxcd.io/tenant: sre-team --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: ingress-nginx @@ -15,7 +15,7 @@ spec: interval: 24h url: https://kubernetes.github.io/ingress-nginx --- -apiVersion: helm.toolkit.fluxcd.io/v2beta2 +apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: ingress-nginx