Igor Soares 694395ab04 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: I625bf93a265eb9c9516f64cdbdba3cbb566d81b1
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2024-10-10 16:08:14 -03:00

37 lines
724 B
YAML

#
# Copyright (c) 2022 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: "helm.toolkit.fluxcd.io/v2"
kind: HelmRelease
metadata:
name: snmp
labels:
chart_group: snmp
spec:
releaseName: ns-snmp
chart:
spec:
chart: snmp
version: REPLACE_HELM_CHART_VERSION
sourceRef:
kind: HelmRepository
name: stx-platform-snmp
interval: 1m
timeout: 30m
test:
enable: false
install:
disableHooks: false
upgrade:
disableHooks: false
valuesFrom:
- kind: Secret
name: snmp-static-overrides
valuesKey: snmp-static-overrides.yaml
- kind: Secret
name: snmp-system-overrides
valuesKey: snmp-system-overrides.yaml