From bac9a8bebf2646f5ce35b107aa5f7c78705a0e53 Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Tue, 16 Jul 2024 15:54:29 +0800 Subject: [PATCH] fix(chart): faulty default configuration in subcharts - Fix setting dependencies to null when deploying subchart on its own or when using the BPDM chart as a dependency --- charts/bpdm/CHANGELOG.md | 7 +++++++ charts/bpdm/Chart.yaml | 8 ++++---- .../charts/bpdm-cleaning-service-dummy/CHANGELOG.md | 6 ++++++ .../charts/bpdm-cleaning-service-dummy/Chart.yaml | 2 +- .../charts/bpdm-cleaning-service-dummy/values.yaml | 5 ----- charts/bpdm/charts/bpdm-gate/CHANGELOG.md | 6 ++++++ charts/bpdm/charts/bpdm-gate/Chart.yaml | 2 +- charts/bpdm/charts/bpdm-gate/values.yaml | 11 ----------- charts/bpdm/charts/bpdm-pool/CHANGELOG.md | 6 ++++++ charts/bpdm/charts/bpdm-pool/Chart.yaml | 2 +- charts/bpdm/charts/bpdm-pool/values.yaml | 8 -------- 11 files changed, 32 insertions(+), 31 deletions(-) diff --git a/charts/bpdm/CHANGELOG.md b/charts/bpdm/CHANGELOG.md index 9b395b2bd..856abb583 100644 --- a/charts/bpdm/CHANGELOG.md +++ b/charts/bpdm/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/), +## [5.0.3] - 2024-07-16 + +### Changed + +- Fixed faulty configuration of subcharts that comes into effect when deploying the subchart directly or using the BPDM chart as a dependency in another chart. + For anyone using the BPDM chart directly this will have no impact. + ## [5.0.2] - 2024-07-03 ### Changed diff --git a/charts/bpdm/Chart.yaml b/charts/bpdm/Chart.yaml index 719d27f0a..cf721327a 100644 --- a/charts/bpdm/Chart.yaml +++ b/charts/bpdm/Chart.yaml @@ -22,7 +22,7 @@ apiVersion: v2 name: bpdm type: application description: A Helm chart for Kubernetes that deploys the BPDM applications -version: 5.0.2 +version: 5.0.3 appVersion: "6.0.2" home: https://github.com/eclipse-tractusx/bpdm sources: @@ -33,17 +33,17 @@ maintainers: dependencies: - name: bpdm-gate - version: 6.0.2 + version: 6.0.3 alias: bpdm-gate condition: bpdm-gate.enabled repository: "file://./charts/bpdm-gate" - name: bpdm-pool - version: 7.0.2 + version: 7.0.3 alias: bpdm-pool condition: bpdm-pool.enabled repository: "file://./charts/bpdm-pool" - name: bpdm-cleaning-service-dummy - version: 3.0.2 + version: 3.0.3 alias: bpdm-cleaning-service-dummy condition: bpdm-cleaning-service-dummy.enabled repository: "file://./charts/bpdm-cleaning-service-dummy" diff --git a/charts/bpdm/charts/bpdm-cleaning-service-dummy/CHANGELOG.md b/charts/bpdm/charts/bpdm-cleaning-service-dummy/CHANGELOG.md index 138c462ac..bdd45ac28 100644 --- a/charts/bpdm/charts/bpdm-cleaning-service-dummy/CHANGELOG.md +++ b/charts/bpdm/charts/bpdm-cleaning-service-dummy/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/), +## [3.0.3] - 2024-07-16 + +### Changed + +- Fix faulty default applicationConfig + ## [3.0.2] - 2024-07-03 ### Changed diff --git a/charts/bpdm/charts/bpdm-cleaning-service-dummy/Chart.yaml b/charts/bpdm/charts/bpdm-cleaning-service-dummy/Chart.yaml index 2741f2881..b4842ef76 100644 --- a/charts/bpdm/charts/bpdm-cleaning-service-dummy/Chart.yaml +++ b/charts/bpdm/charts/bpdm-cleaning-service-dummy/Chart.yaml @@ -22,7 +22,7 @@ apiVersion: v2 type: application name: bpdm-cleaning-service-dummy appVersion: "6.0.2" -version: 3.0.2 +version: 3.0.3 description: A Helm chart for deploying the BPDM cleaning service home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View sources: diff --git a/charts/bpdm/charts/bpdm-cleaning-service-dummy/values.yaml b/charts/bpdm/charts/bpdm-cleaning-service-dummy/values.yaml index b9c98c133..5a2d82f0a 100644 --- a/charts/bpdm/charts/bpdm-cleaning-service-dummy/values.yaml +++ b/charts/bpdm/charts/bpdm-cleaning-service-dummy/values.yaml @@ -114,11 +114,6 @@ startupProbe: # Used to overwrite the default property values of the application configuration applicationConfig: - bpdm: - client: - orchestrator: - # If empty sets kubernetes BPDM Orchestrator service with same release name - base-url: # Used to overwrite the secret property values of the application configuration applicationSecrets: diff --git a/charts/bpdm/charts/bpdm-gate/CHANGELOG.md b/charts/bpdm/charts/bpdm-gate/CHANGELOG.md index c93aed745..52f1c883b 100644 --- a/charts/bpdm/charts/bpdm-gate/CHANGELOG.md +++ b/charts/bpdm/charts/bpdm-gate/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/), +## [6.0.3] - 2024-07-16 + +### Changed + +- Fix faulty default applicationConfig + ## [6.0.2] - 2024-07-03 ### Changed diff --git a/charts/bpdm/charts/bpdm-gate/Chart.yaml b/charts/bpdm/charts/bpdm-gate/Chart.yaml index 932ad61ef..e29a7213e 100644 --- a/charts/bpdm/charts/bpdm-gate/Chart.yaml +++ b/charts/bpdm/charts/bpdm-gate/Chart.yaml @@ -22,7 +22,7 @@ apiVersion: v2 type: application name: bpdm-gate appVersion: "6.0.2" -version: 6.0.2 +version: 6.0.3 description: A Helm chart for deploying the BPDM gate service home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View sources: diff --git a/charts/bpdm/charts/bpdm-gate/values.yaml b/charts/bpdm/charts/bpdm-gate/values.yaml index 6285ec45f..ba3b109b8 100644 --- a/charts/bpdm/charts/bpdm-gate/values.yaml +++ b/charts/bpdm/charts/bpdm-gate/values.yaml @@ -118,17 +118,6 @@ startupProbe: # Used to overwrite the default property values of the application configuration applicationConfig: - bpdm: - datasource: - # If empty sets kubernetes postgres service with same release name - host: - client: - pool: - # If empty sets kubernetes BPDM Pool service with same release name - base-url: - orchestrator: - # If empty sets kubernetes BPDM Orchestrator service with same release name - base-url: # Used to overwrite the secret property values of the application configuration applicationSecrets: diff --git a/charts/bpdm/charts/bpdm-pool/CHANGELOG.md b/charts/bpdm/charts/bpdm-pool/CHANGELOG.md index fa172a39a..53e241e57 100644 --- a/charts/bpdm/charts/bpdm-pool/CHANGELOG.md +++ b/charts/bpdm/charts/bpdm-pool/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/), +## [7.0.3] - 2024-07-16 + +### Changed + +- Fix faulty default applicationConfig + ## [7.0.2] - 2024-07-03 ### Changed diff --git a/charts/bpdm/charts/bpdm-pool/Chart.yaml b/charts/bpdm/charts/bpdm-pool/Chart.yaml index afcc2a45f..e9b8b594a 100644 --- a/charts/bpdm/charts/bpdm-pool/Chart.yaml +++ b/charts/bpdm/charts/bpdm-pool/Chart.yaml @@ -22,7 +22,7 @@ apiVersion: v2 type: application name: bpdm-pool appVersion: "6.0.2" -version: 7.0.2 +version: 7.0.3 description: A Helm chart for deploying the BPDM pool service home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View sources: diff --git a/charts/bpdm/charts/bpdm-pool/values.yaml b/charts/bpdm/charts/bpdm-pool/values.yaml index 129a62325..38eb266cd 100644 --- a/charts/bpdm/charts/bpdm-pool/values.yaml +++ b/charts/bpdm/charts/bpdm-pool/values.yaml @@ -118,14 +118,6 @@ startupProbe: successThreshold: 1 applicationConfig: - bpdm: - datasource: - # If empty sets kubernetes postgres service with same release name - host: - client: - orchestrator: - # If empty sets kubernetes BPDM Orchestrator service with same release name - base-url: applicationSecrets: spring: