From e902576ecd8f9ec4c7019ae460d28e13b5c7cd05 Mon Sep 17 00:00:00 2001 From: Edson Dias Date: Wed, 26 Jun 2024 17:28:29 -0300 Subject: [PATCH] Update helm/fluxcd api version. Right now, snmp 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 snmp app PASS: Confirm that sysinv.log does not have any warnings about beta versions related to snmp. Story: 2011129 Task: 50453 Change-Id: I2307dd25dc3558d8d4de36bfa2c64fbecb0c0c3b Signed-off-by: Edson Dias --- .../stx-snmp-helm/fluxcd-manifests/base/helmrepository.yaml | 2 +- .../stx-snmp-helm/fluxcd-manifests/snmp/helmrelease.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stx-snmp-helm/stx-snmp-helm/fluxcd-manifests/base/helmrepository.yaml b/stx-snmp-helm/stx-snmp-helm/fluxcd-manifests/base/helmrepository.yaml index 0276724..7cc6118 100644 --- a/stx-snmp-helm/stx-snmp-helm/fluxcd-manifests/base/helmrepository.yaml +++ b/stx-snmp-helm/stx-snmp-helm/fluxcd-manifests/base/helmrepository.yaml @@ -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 diff --git a/stx-snmp-helm/stx-snmp-helm/fluxcd-manifests/snmp/helmrelease.yaml b/stx-snmp-helm/stx-snmp-helm/fluxcd-manifests/snmp/helmrelease.yaml index 27aa1fb..ff4a101 100644 --- a/stx-snmp-helm/stx-snmp-helm/fluxcd-manifests/snmp/helmrelease.yaml +++ b/stx-snmp-helm/stx-snmp-helm/fluxcd-manifests/snmp/helmrelease.yaml @@ -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: snmp