Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype new generation of kyma CLI #1942

Closed
kwiatekus opened this issue Feb 2, 2024 · 2 comments
Closed

Prototype new generation of kyma CLI #1942

kwiatekus opened this issue Feb 2, 2024 · 2 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@kwiatekus
Copy link
Contributor

kwiatekus commented Feb 2, 2024

Description
Design and implement a prototype version of new kyma CLI that helps developers who use managed kyma runtimes within BTP ecosystem with development of their CAP applications

The prototype should include:

  • automated lifecycle management of kyma runtime lifecycle (provisioning, deprovisioning)
  • getting access to freshly created cluster
  • attaching BTP service instances to kyma runtimes via service manager

The prototype should be implemented with devops purpose in mind (enable automation).
It should also provide a concept how to reuse the logic in the UI.

The prototype is successful if satisfies the following MVP criteria:

  • allows provisioning kyma runtime from CI/CD workflow (using configured SAP BTP CIS credentials)
  • allows OIDC based access to freshly created kyma runtime from the CI/CD workflow
  • allows attaching (already existing) Hana DB service instance into kyma runtime
  • (helps deploying CAP application that uses hanaDB, i.e bookstore into kyma runtime) - this is just kubernetes resources deployment (but referencing known secret )
  • allows deprovisioning kyma runtime w/o decomisioning hana db instance

Reason
The goal behind the prototype is to drive initial design around common development journeys simplify them.
Our ultimate goal is to revamp the kyma CLI to simplify development journeys around kyma runtime within SAP BTP ecosystem (kyma-project/kyma#18198).

Links
POC for getting access using additional OIDC
nodejs based prototype by @pbochynski
Related Killercoda tutorials:
https://killercoda.com/interactive-kyma/scenario/oss-modules
https://killercoda.com/kyma-project/scenario/btp-services

@kwiatekus
Copy link
Contributor Author

kwiatekus commented Apr 22, 2024

AS of today, the new prototype commands allow to

  • provision managed kyma runtime within SAP BTP subaccount
  • create hana db instance in an automated way (incl. binding and mapping to kyma).
  • create references to shared instances

Getting access to new kyma runtime vi kyma CLI (in 100% automated scenario) will be possible after implementig A) or B)
A) kyma-project/kyma#18305
B) kyma-project/kyma-environment-broker#284

Next steps

@kwiatekus
Copy link
Contributor Author

Closing as duplicate in favor of kyma-project/kyma#18198

@kwiatekus kwiatekus added duplicate This issue or pull request already exists and removed Epic 2023-Q2 Planned for Q2 2023 labels Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants