Update FluxCD api versions in app manifest

FluxCD supports the following api versions
for helm/source:

helm.toolkit.fluxcd.io now supports v2.
source.toolkit.fluxcd.io now supports v1.

This change seeks to update references of

source.toolkit.fluxcd.io/v1beta1 to
source.toolkit.fluxcd.io/v1

and also

helm.toolkit.fluxcd.io/v2beta1 to
helm.toolkit.fluxcd.io/v2

Making this change eliminates warnings in
FluxCD operations on the platform. Without
this change the beta versions of the api
still work, but are going to be phased out
in future releases of FluxCD. Therefore
this change must happen. No changes to yaml
file structure are required for the api
change from beta to full v1/v2 version,
respectively.

The beta changes are compatible with the current
and past versions of FluxCD in stx 8.0, 9.0 and
current 10.0.

Reference:

Per the migration to v2.3.0 of FluxCD, various
APIs were promoted requiring application adjustments
within the manifests.

See https://github.com/fluxcd/flux2/releases/tag/v2.3.0

Test Plan:
PASS: Build ISO & Bootstrap AIO-SX
PASS: After bootstrap verify that the app
      has applied without error and is using
      the correct helm/source api versions.

Story: 2011129
Task: 50267

Change-Id: I97f8ebdabe9d9004e0d3c0f37fd3c5a31b1e73f2
Signed-off-by: Joshua Reed <joshua.reed@windriver.com>
This commit is contained in:
Joshua Reed 2024-06-04 14:04:08 -06:00
parent e8d5daf4af
commit e49ef87109
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: source.toolkit.fluxcd.io/v1beta1
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: stx-platform

View File

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: "helm.toolkit.fluxcd.io/v2beta1"
apiVersion: "helm.toolkit.fluxcd.io/v2"
kind: HelmRelease
metadata:
name: ceph-pools-audit

View File

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: "helm.toolkit.fluxcd.io/v2beta1"
apiVersion: "helm.toolkit.fluxcd.io/v2"
kind: HelmRelease
metadata:
name: cephfs-provisioner

View File

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: "helm.toolkit.fluxcd.io/v2beta1"
apiVersion: "helm.toolkit.fluxcd.io/v2"
kind: HelmRelease
metadata:
name: rbd-provisioner