Design and implement commands that allows users to bind hana instance to kyma:
[x] allow to pass parameters for hana cloud instance (memory, cpu, password (default to auto generated), IP whitelisting config (allow all IPs should be an easy cli option), etc)
[x] provide command to check if the instance is provisioned
[x] provide a command to bind hana instance
[x] provide a command to print hana credentials
[x] provide a command to delete hana
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.
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