kyma-project / cli

Simple set of commands to manage a Kyma installation
Apache License 2.0
111 stars 118 forks source link

Provide a command(s) to provision and bind SAP hana cloud instance into kyma runtime #1980

Closed kwiatekus closed 6 months ago

kwiatekus commented 7 months ago

Description

Design and implement commands that allows users to bind hana instance to kyma:

Assume that user must pass path to kubeconfig file necessary to access kyma cluster in an automated scenario(w/o oidc kube_login plugin). (For now user must manually create such via service account in kyma itself and pass it to the commands that require access to kyma)

Reasons

SAP Hana Cloud Service is a flagship that should be very easy to bind and use in runtimes like kyma. Such command (usable from developer's machine as well as from CI/CD ) will ease the burden of finding the "right way" of doing it manually.

Attachments

https://github.com/kwiatekus/kyma-demo/blob/main/k8s-resources/hana-instance.yaml https://github.com/kwiatekus/kyma-demo/blob/main/k8s-resources/hana-bindings.yaml