From 93379a4226b3ac4810cbf77bfd2686d2df25b02d Mon Sep 17 00:00:00 2001 From: "fabio.d.mota" Date: Mon, 27 Nov 2023 15:21:18 +0000 Subject: [PATCH 1/3] fix(frontend): Remove unnecessarily overwriting default subchart values --- charts/country-risk/values.yaml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/charts/country-risk/values.yaml b/charts/country-risk/values.yaml index 1c48b236..a5a333d1 100644 --- a/charts/country-risk/values.yaml +++ b/charts/country-risk/values.yaml @@ -22,14 +22,6 @@ country-risk-frontend: replicaCount: 1 - image: - registry: "tractusx" - # -- Name of the docker image - name: "vas-country-risk" - pullPolicy: Always - # -- Overrides the image tag whose default is the chart appVersion. - tag: "" - certificate: # -- Hostname for the certificate host: "frontend.countryrisk.example.net" @@ -154,13 +146,6 @@ country-risk-frontend: country-risk-backend: replicaCount: 1 - image: - registry: "tractusx" - # -- Name of the docker image - name: "vas-country-risk-backend" - pullPolicy: Always - # -- Overrides the image tag whose default is the chart appVersion. - tag: "" certificate: # -- Hostname for the certificate From 1b3dbe0d76cb3265d128a2d23756ba636839b7ef Mon Sep 17 00:00:00 2001 From: "fabio.d.mota" Date: Tue, 28 Nov 2023 10:25:53 +0000 Subject: [PATCH 2/3] Docs(Frontend): Bump version to charts.yml --- charts/country-risk/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/country-risk/Chart.yaml b/charts/country-risk/Chart.yaml index ce103117..b919a7ef 100644 --- a/charts/country-risk/Chart.yaml +++ b/charts/country-risk/Chart.yaml @@ -20,7 +20,7 @@ apiVersion: v2 name: country-risk type: application -version: 3.0.3 +version: 3.0.4 appVersion: "1.2.1" description: A Helm chart for deploying the Country Risk service home: https://github.com/eclipse-tractusx/vas-country-risk-frontend From c450fa09fcaab71b25041a9033ee591e9d490d23 Mon Sep 17 00:00:00 2001 From: "fabio.d.mota" Date: Tue, 28 Nov 2023 12:15:31 +0000 Subject: [PATCH 3/3] fix(frontend): Add default value for version upgrade on helm test --- .github/workflows/helm-chart-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/helm-chart-test.yaml b/.github/workflows/helm-chart-test.yaml index 9b82e6cc..59232017 100644 --- a/.github/workflows/helm-chart-test.yaml +++ b/.github/workflows/helm-chart-test.yaml @@ -82,7 +82,7 @@ jobs: helm repo add pgadmin4 https://helm.runix.net helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev - helm install country-risk tractusx-dev/country-risk --version ${{ github.event.inputs.upgrade_from }} + helm install country-risk tractusx-dev/country-risk --version ${{ github.event.inputs.upgrade_from || '1.1.0' }} helm dependency update charts/country-risk helm upgrade country-risk charts/country-risk if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true' \ No newline at end of file