From 73f896784e955cc5e8eda781d1c13ab49dac8242 Mon Sep 17 00:00:00 2001 From: Edson Dias Date: Wed, 26 Jun 2024 14:00:32 -0300 Subject: [PATCH] Update helm/fluxcd api version. Right now, auditd app is using beta versions of the Fluxcd and Helm APIs, and for this reason, some warnings are being thrown. This change aims to update api versions, removing beta values following this logic: Fluxcd: - source.toolkit.fluxcd.io/v1beta1 + source.toolkit.fluxcd.io/v1 Helm: - helm.toolkit.fluxcd.io/v2beta1 + helm.toolkit.fluxcd.io/v2 No changes to yaml file structure are required for this change. Test Plan: PASS: Build ISO & Bootstrap AIO-SX PASS: Upload and apply auditd app PASS: Confirm that sysinv.log does not have any warnings about beta versions related to auditd. Story: 2011129 Task: 50441 Change-Id: I0f15c68d88a960575af506167a9d1cf216ea0c74 Signed-off-by: Edson Dias --- .../stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml | 2 +- .../stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stx-audit-helm/stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml b/stx-audit-helm/stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml index 714d8bd..98d84cc 100644 --- a/stx-audit-helm/stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml +++ b/stx-audit-helm/stx-audit-helm/fluxcd-manifests/auditd/helmrelease.yaml @@ -3,7 +3,7 @@ # # SPDX-License-Identifier: Apache-2.0 # -apiVersion: "helm.toolkit.fluxcd.io/v2beta1" +apiVersion: "helm.toolkit.fluxcd.io/v2" kind: HelmRelease metadata: name: auditd diff --git a/stx-audit-helm/stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml b/stx-audit-helm/stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml index 75b4d46..7f310cb 100644 --- a/stx-audit-helm/stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml +++ b/stx-audit-helm/stx-audit-helm/fluxcd-manifests/base/helmrepository.yaml @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache-2.0 # # HelmRepository YAML for Starlingx helm repository. -apiVersion: source.toolkit.fluxcd.io/v1beta1 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: stx-platform