From 29f03325a6ceb3f566db004cf9c5233d9ad95daf Mon Sep 17 00:00:00 2001 From: Igor Soares Date: Thu, 10 Oct 2024 15:58:23 -0300 Subject: [PATCH] Rename Helm repository to avoid naming collision Rename the Helm repository to avoid using the same name used by other applications in the kube-system namespace. This fixes a bug where HelmRepository objects belonging to multiple apps were being removed from the cluster when running "system application-remove". Test Plan: PASS: build-pkgs && build-image PASS: AIO-SX fresh install PASS: upload/apply/update/remove/delete app Depends-on: https://review.opendev.org/c/starlingx/config/+/932120 Change-Id: Iab7c748b21768726c3066ef5cd088d4145700e06 Signed-off-by: Igor Soares --- .../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 98d84cc..8bba09c 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 @@ -17,7 +17,7 @@ spec: version: REPLACE_HELM_CHART_VERSION sourceRef: kind: HelmRepository - name: stx-platform + name: stx-platform-audit interval: 1m timeout: 30m test: 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 7f310cb..f2e3a80 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 @@ -7,7 +7,7 @@ apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: - name: stx-platform + name: stx-platform-audit spec: url: http://192.168.206.1:8080/helm_charts/stx-platform interval: 1m # interval to check the repository for updates