From f74b9e3e42659dfd39336e5effd72b72bf5504f6 Mon Sep 17 00:00:00 2001 From: Edson Dias Date: Wed, 26 Jun 2024 17:42:11 -0300 Subject: [PATCH] Update helm/fluxcd api version. Right now, ptp-notification 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 ptp-notification app PASS: Confirm that sysinv.log does not have any warnings about beta versions related to ptp-notification. Story: 2011129 Task: 50454 Change-Id: I8cfd9190294a6047f1d3482f7596b2577a99bcf9 Signed-off-by: Edson Dias --- .../fluxcd-manifests/base/helmrepository.yaml | 2 +- .../fluxcd-manifests/ptp-notification/helmrelease.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/base/helmrepository.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/base/helmrepository.yaml index 75b4d46..7f310cb 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/base/helmrepository.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-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 diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification/helmrelease.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification/helmrelease.yaml index 475c437..3f6f283 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification/helmrelease.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-helm/fluxcd-manifests/ptp-notification/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: ptp-notification