diff --git a/helm/charts/crossplane-provider-cloudfoundry/Chart.yaml b/helm/charts/crossplane-provider-cloudfoundry/Chart.yaml index 4d92724..7e4b0ca 100644 --- a/helm/charts/crossplane-provider-cloudfoundry/Chart.yaml +++ b/helm/charts/crossplane-provider-cloudfoundry/Chart.yaml @@ -7,4 +7,4 @@ sources: - https://github.com/openmcp-project/blueprint-building-blocks - https://github.com/SAP/crossplane-provider-cloudfoundry type: application -version: 0.1.3 +version: 0.1.4 diff --git a/helm/charts/crossplane-provider-cloudfoundry/README.md b/helm/charts/crossplane-provider-cloudfoundry/README.md index b2e89d8..33e81b6 100644 --- a/helm/charts/crossplane-provider-cloudfoundry/README.md +++ b/helm/charts/crossplane-provider-cloudfoundry/README.md @@ -2,7 +2,7 @@ # crossplane-provider-cloudfoundry -![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.0](https://img.shields.io/badge/AppVersion-0.3.0-informational?style=flat-square) +![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.0](https://img.shields.io/badge/AppVersion-0.3.0-informational?style=flat-square) A Helm Chart to template crossplane manifests to manage BTP Cloud Foundry resources on BTP. diff --git a/helm/charts/crossplane-provider-cloudfoundry/templates/secrets/generic-secret.yaml b/helm/charts/crossplane-provider-cloudfoundry/templates/secrets/generic-secret.yaml index 41d6914..91b299a 100644 --- a/helm/charts/crossplane-provider-cloudfoundry/templates/secrets/generic-secret.yaml +++ b/helm/charts/crossplane-provider-cloudfoundry/templates/secrets/generic-secret.yaml @@ -10,15 +10,16 @@ metadata: labels: openmcp.cloud/blueprint-building-block: "{{ $.Chart.Name }}" openmcp.cloud/blueprint-building-block-version: "{{ $.Chart.Version }}" - {{- if $item.stringData}} - stringData: +{{- if $item.stringData}} +stringData: {{- range $key, $value := $item.stringData }} {{ $key }}: {{ $value | quote }} {{- end }} - {{- end }} - {{- if $item.data}} - data: +{{- end }} +{{- if $item.data}} +data: {{- toYaml $item.data | nindent 4 }} {{- end }} - {{- end }} {{- end }} +{{- end }} +