Skip to content

[FEATURE] Module Management for Kyma #166

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

Open
sdischer-sap opened this issue May 7, 2025 · 2 comments
Open

[FEATURE] Module Management for Kyma #166

sdischer-sap opened this issue May 7, 2025 · 2 comments

Comments

@sdischer-sap
Copy link
Member

sdischer-sap commented May 7, 2025

Context

With KymaBinding (see #100) its now possible to easily connect into kyma directly. Given that modules can not be updated from the parameters of a KymaEnvironment we can now offer this feature via pushing a CR directly into the Kymacluster. For that we can come up with a new CRD called KymaModule that basically pushes a related CR into the Kymacluster. This would basically work the same way like using the Kubernetes crossplane provider to push an Object into the kyma cluster.

Acceptance Criteria

  • Create a new CR called KymaModule
  • takes a reference to the KymaBinding
  • uses KymaBinding kubeconfig to push a Module CR into the kyma cluster
apiVersion: environment.btp.sap.crossplane.io/v1alpha1 # string
kind: KymaModule 
metadata: # objec
spec: 
  kymaBindingRef: 
     - name: my-binding
  TODO

Workarounds & Alternatives

The same feature can basically be achieved by the user directly with using the kubernetes crossplane provider and an Object CR. We could also decide to propagate this approach instead by showcasing it in a guide.

@maximilianbraun
Copy link
Member

More about Kyma Modules:
https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules / https://help.sap.com/docs/btp/sap-business-technology-platform/enable-and-disable-kyma-module#loio1b548e9ad4744b978b8b595288b0cb5c
Most interesting might be the implementation in kyma cli (https://github.com/kyma-project/cli/blob/4c880eacbc98eaad40d5e4d721982060871fd267/internal/cmd/alpha/module/add.go#L16)

Or one can have a look into the kyma dashboard / the crd in a kyma cluster.

@sdischer-sap
Copy link
Member Author

@GenosseOtt this one is good to go to refinement once approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants