Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -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.19
version: 0.0.20
# 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# crossplane-provider-sap-btp-environment

![Version: 0.0.19](https://img.shields.io/badge/Version-0.0.19-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.2](https://img.shields.io/badge/AppVersion-1.1.2-informational?style=flat-square)
![Version: 0.0.20](https://img.shields.io/badge/Version-0.0.20-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.2](https://img.shields.io/badge/AppVersion-1.1.2-informational?style=flat-square)

A Helm Chart to template crossplane manifests to manage Cloud Foundry or BTP Kyma environments on BTP.

Expand All @@ -24,6 +24,7 @@ A Helm Chart to template crossplane manifests to manage Cloud Foundry or BTP Kym
| kymaEnvironmentBindings[0].writeConnectionSecretToRef | object | `{"name":"demo-kyma-binding-local","namespace":"default"}` | *optional* - When a Crossplane Provider creates a managed resource it may generate resource-specific details, like usernames, passwords or connection details like an IP address. Crossplane stores these details in a Kubernetes Secret object specified by the `writeConnectionSecretToRef` values. Learn more about Crossplane concept [Managed Resources Fields](https://docs.crossplane.io/latest/concepts/managed-resources/#writeconnectionsecrettoref)! |
| kymaEnvironments | list | `[{"btpSapCrossplaneProviderConfigRefName":"","cloudManagementRef":{"name":"dev-eu01"},"forProvider":{"administrators":["[email protected]"],"autoScalerMax":3,"autoScalerMin":3,"machineType":"m5.xlarge","oidc":{"clientID":"<your client id>","groupsClaim":"groups","issuerURL":"https://<IAS host>.accounts400.ondemand.com","signingAlgs":["RS256"],"usernameClaim":"email","usernamePrefix":"-"},"parameters":null,"region":"eu-west-2"},"name":"","planName":"aws","subaccountRef":{"name":"dev-eu01"},"writeConnectionSecretToRef":{"name":"demo-kyma-kubeconfig-local","namespace":"default"}}]` | kymaEnvironments contains configuration of [kind: KymaEnvironment](https://doc.crds.dev/github.com/SAP/crossplane-provider-btp/environment.btp.sap.crossplane.io/KymaEnvironment/[email protected]). |
| kymaEnvironments[0].writeConnectionSecretToRef | object | `{"name":"demo-kyma-kubeconfig-local","namespace":"default"}` | *optional* - When a Crossplane Provider creates a managed resource it may generate resource-specific details, like usernames, passwords or connection details like an IP address. Crossplane stores these details in a Kubernetes Secret object specified by the `writeConnectionSecretToRef` values. Learn more about Crossplane concept [Managed Resources Fields](https://docs.crossplane.io/latest/concepts/managed-resources/#writeconnectionsecrettoref)! |
| kymaModules | list | `[{"kymaEnvironmentBinding":"","moduleName":"test-module","releaseChannel":"regular"}]` | kymaModules contains configuration of kind: KymaModule. |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{- range $item := .Values.kymaModules }}
{{- if and ($item) (ne $item.name "") }}
---
apiVersion: environment.btp.sap.crossplane.io/v1alpha1
kind: KymaModule
metadata:
name: aas-adapter-dev-{{required "A valid value is required! (.Values.kymaModules[].moduleName)" $item.moduleName}}
spec:
kymaEnvironmentBindingRef:
name: {{ required "A valid value is required! (.Values.kymaModules[].kymaEnvironmentBinding)" $item.kymaEnvironmentBinding }}
forProvider:
name: api-gateway
channel: {{ required "A valid value is required! (.Values.kymaModules[].releaseChannel)" $item.releaseChannel }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@ kymaEnvironmentBindings:
writeConnectionSecretToRef:
name: "demo-kyma-binding-local"
namespace: "default"
########################################################################################################################
# -- kymaModules contains configuration of kind: KymaModule.
kymaModules:
- moduleName: "test-module"
kymaEnvironmentBinding: "test-binding"
releaseChannel: "regular"
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,9 @@ kymaEnvironmentBindings:
writeConnectionSecretToRef:
name: "demo-kyma-binding-local"
namespace: "default"
########################################################################################################################
########################################################################################################################
# -- kymaModules contains configuration of kind: KymaModule.
kymaModules:
- moduleName: "test-module"
kymaEnvironmentBinding: ""
releaseChannel: "regular"