From 6c6c66d47090c781c4004b7ba54bcabbd8ee61a8 Mon Sep 17 00:00:00 2001 From: Yuanxun Gu Date: Tue, 24 Jun 2025 15:11:52 +0200 Subject: [PATCH 1/4] chore: update kyma environment binding configuration to trim whitespace in required values --- .../templates/kyma-enviornment-binding.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/charts/crossplane-provider-sap-btp-environment/templates/kyma-enviornment-binding.yaml b/helm/charts/crossplane-provider-sap-btp-environment/templates/kyma-enviornment-binding.yaml index 4d0e924..11465b3 100644 --- a/helm/charts/crossplane-provider-sap-btp-environment/templates/kyma-enviornment-binding.yaml +++ b/helm/charts/crossplane-provider-sap-btp-environment/templates/kyma-enviornment-binding.yaml @@ -12,9 +12,9 @@ spec: providerConfigRef: name: {{required "A valid value is required! .Values.kymaEnvironments[].btpSapCrossplaneProviderConfigRefName)" $item.btpSapCrossplaneProviderConfigRefName }} forProvider: - {{ required "A valid value is required! (.Values.kymaEnvironmentBindings[].forProvider)" $item.forProvider | toYaml | nindent 4 }} + {{ required "A valid value is required! (.Values.kymaEnvironmentBindings[].forProvider)" $item.forProvider | toYaml | trim | nindent 4 }} cloudManagementRef: - {{ required "A valid value is required! (.Values.kymaEnvironmentBindings[].cloudManagementRef)" $item.cloudManagementRef | toYaml | nindent 4 }} + {{ required "A valid value is required! (.Values.kymaEnvironmentBindings[].cloudManagementRef)" $item.cloudManagementRef | toYaml | trim | nindent 4 }} kymaEnvironmentRef: name: {{required "A valid value is required! (.Values.kymaEnvironmentBindings[].kymaEnvironmentRef.name)" $item.kymaEnvironmentRef.name }} {{- if $item.writeConnectionSecretToRef}} From dce119828500aad0bf0937184f2173f2d0ea2e39 Mon Sep 17 00:00:00 2001 From: Yuanxun Gu Date: Wed, 25 Jun 2025 13:34:52 +0200 Subject: [PATCH 2/4] chore: update kyma environment binding configuration to use trimmed whitespace for required values --- .../templates/kyma-enviornment-binding.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/charts/crossplane-provider-sap-btp-environment/templates/kyma-enviornment-binding.yaml b/helm/charts/crossplane-provider-sap-btp-environment/templates/kyma-enviornment-binding.yaml index 11465b3..cf8ad84 100644 --- a/helm/charts/crossplane-provider-sap-btp-environment/templates/kyma-enviornment-binding.yaml +++ b/helm/charts/crossplane-provider-sap-btp-environment/templates/kyma-enviornment-binding.yaml @@ -12,9 +12,9 @@ spec: providerConfigRef: name: {{required "A valid value is required! .Values.kymaEnvironments[].btpSapCrossplaneProviderConfigRefName)" $item.btpSapCrossplaneProviderConfigRefName }} forProvider: - {{ required "A valid value is required! (.Values.kymaEnvironmentBindings[].forProvider)" $item.forProvider | toYaml | trim | nindent 4 }} + {{- required "A valid value is required! (.Values.kymaEnvironmentBindings[].forProvider)" $item.forProvider | toYaml | trim | nindent 4 }} cloudManagementRef: - {{ required "A valid value is required! (.Values.kymaEnvironmentBindings[].cloudManagementRef)" $item.cloudManagementRef | toYaml | trim | nindent 4 }} + {{- required "A valid value is required! (.Values.kymaEnvironmentBindings[].cloudManagementRef)" $item.cloudManagementRef | toYaml | trim | nindent 4 }} kymaEnvironmentRef: name: {{required "A valid value is required! (.Values.kymaEnvironmentBindings[].kymaEnvironmentRef.name)" $item.kymaEnvironmentRef.name }} {{- if $item.writeConnectionSecretToRef}} From d8b668ee8c80ce060ad28d06313f415687fec9d9 Mon Sep 17 00:00:00 2001 From: ricogu Date: Wed, 25 Jun 2025 11:36:47 +0000 Subject: [PATCH 3/4] chore(ci): update helm/charts/crossplane-provider-sap-btp-environment/Chart.yaml.version 0.0.17 -> 0.0.18 --- helm/charts/crossplane-provider-sap-btp-environment/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/charts/crossplane-provider-sap-btp-environment/Chart.yaml b/helm/charts/crossplane-provider-sap-btp-environment/Chart.yaml index fb8192b..7a81f0b 100644 --- a/helm/charts/crossplane-provider-sap-btp-environment/Chart.yaml +++ b/helm/charts/crossplane-provider-sap-btp-environment/Chart.yaml @@ -17,7 +17,7 @@ icon: "https://avatars.githubusercontent.com/u/45158470?s=48&v=4" # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.17 +version: 0.0.18 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. From 10c9e62c7b66f97079b1dc53458dc2c1d0cdca70 Mon Sep 17 00:00:00 2001 From: ricogu Date: Wed, 25 Jun 2025 11:36:49 +0000 Subject: [PATCH 4/4] chore(ci): update Helm Chart helm/charts/crossplane-provider-sap-btp-environment/README.md file --- helm/charts/crossplane-provider-sap-btp-environment/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/charts/crossplane-provider-sap-btp-environment/README.md b/helm/charts/crossplane-provider-sap-btp-environment/README.md index a50486d..9494ffb 100644 --- a/helm/charts/crossplane-provider-sap-btp-environment/README.md +++ b/helm/charts/crossplane-provider-sap-btp-environment/README.md @@ -2,7 +2,7 @@ # crossplane-provider-sap-btp-environment -![Version: 0.0.17](https://img.shields.io/badge/Version-0.0.17-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square) +![Version: 0.0.18](https://img.shields.io/badge/Version-0.0.18-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square) A Helm Chart to template crossplane manifests to manage Cloud Foundry or BTP Kyma environments on BTP.