Fix helm chart version mismatch in helm list -A

The helm list -A command was showing a hardcoded chart version (0.1.1)
instead of the actual chart version (0.2.1).

This commit introduces the REPLACE_HELM_CHART_VERSION variable in the
helmrelease.yaml file to ensure that the version displayed by
"helm list -A" matches the actual Helm chart version.

TEST CASES :

PASSED: App upload/apply/remove/delete.
PASSED: Manually started secret observer pod using cronjob and verified
        the operator pod restart.
PASSED: Application got successfully upgraded from 24.09 to 25.09.
PASSED: Pods are running successfully after upgrade.
PASSED: Verified the helm chart version using command
        "helm list -A".

Story: 2011407
Task: 52791

Change-Id: Ief9288197f4327dc2e4a9d2ada719ae5e9003240
Signed-off-by: Rakesh, Boya <boya.rakesh@windriver.com>
This commit is contained in:
Rakesh, Boya
2025-09-09 10:58:49 -04:00
committed by Boya Rakesh
parent b525e1e055
commit e87e789aee

View File

@@ -15,7 +15,7 @@ spec:
chart:
spec:
chart: secret-observer
version: 0.1.1
version: REPLACE_HELM_CHART_VERSION
sourceRef:
kind: HelmRepository
name: stx-platform