kyma-project / btp-manager

BTP Manager installs SAP BTP Service Operator as a Kyma module
Apache License 2.0
6 stars 17 forks source link

[POC] Catalog Views and integration with Service Manager #442

Closed PK85 closed 2 months ago

PK85 commented 1 year ago

Description

Provide new UI for BTP Operator in the Busola where users can see Service Catalog. For now it could be separate application, if installed in the Kyma cluster should already work. In the future probably it will be a part of the btp-manager module.

Reason

We want to make BTP Operator user's lives easier and more convenient where they can see all of the available services in the Busola and then just provision some of them.

AC

Links

PK85 commented 1 year ago

Reference sharing:

apiVersion: services.cloud.sap.com/v1
kind: ServiceInstance
metadata:
  name: kyma-demo-instance-123
  namespace: develope
spec:
  serviceOfferingName: xsuaa
  servicePlanName: reference-instance
  parameters:
    referenced_instance_id: <shared service id>
---
apiVersion: services.cloud.sap.com/v1
kind: ServiceBinding
metadata:
  name: kyma-demo-binding-123
  namespace: develope
spec:
  serviceInstanceName: kyma-demo-instance-123
kyma-bot commented 10 months ago

This issue or PR has been automatically marked as stale due to the lack of recent activity. Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

You can:

If you think that I work incorrectly, kindly raise an issue with the problem.

/lifecycle stale

kyma-bot commented 10 months ago

This issue or PR has been automatically closed due to the lack of activity. Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

You can:

If you think that I work incorrectly, kindly raise an issue with the problem.

/close

kyma-bot commented 10 months ago

@kyma-bot: Closing this issue.

In response to [this](https://github.com/kyma-project/btp-manager/issues/442#issuecomment-1888786355): >This issue or PR has been automatically closed due to the lack of activity. >Thank you for your contributions. > >This bot triages issues and PRs according to the following rules: >- After 60d of inactivity, `lifecycle/stale` is applied >- After 7d of inactivity since `lifecycle/stale` was applied, the issue is closed > >You can: >- Reopen this issue or PR with `/reopen` >- Mark this issue or PR as fresh with `/remove-lifecycle stale` > >If you think that I work incorrectly, kindly [raise an issue](https://github.com/kyma-project/test-infra/issues/new/choose) with the problem. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
ukff commented 8 months ago

Issue with UI development for embedding pages: https://github.com/kyma-project/busola/issues/2762

szwedm commented 7 months ago

Meeting notes and current arrangements (3.04.24)

Arrangements:

Limitations:

Future ideas:

ukff commented 7 months ago

early proposal of UI: Image

ukff commented 7 months ago

Image

szwedm commented 7 months ago

SAP BTP service operator recognises the following secrets for service instances:

szwedm commented 7 months ago

PR introducing SecretProvider which fetches secrets with credentials for Service Manager: https://github.com/kyma-project/btp-manager/pull/655

szwedm commented 7 months ago

UI PR: https://github.com/kyma-project/btp-manager/pull/649

szwedm commented 6 months ago

Adding Service Manager client: https://github.com/kyma-project/btp-manager/pull/674

szwedm commented 6 months ago

Unit test for SM client service offerings: https://github.com/kyma-project/btp-manager/pull/703

ukff commented 6 months ago

Image

ukff commented 6 months ago

Sprint review comments (21.05.2024):

ukff commented 5 months ago

Meeting notes 04.06.24

1: Service Manager resources (frontend needs backend first)

2: Independent from backend:

3:

szwedm commented 5 months ago
  • Marketplace: ServiceOffering details + plans details Backend (Marcin)

Done in https://github.com/kyma-project/btp-manager/pull/717

szwedm commented 5 months ago
  • Bundle backend and frontend without port conflicts (Marcin)

    • Decide how to run everything together in 1 pod

Done in: https://github.com/kyma-project/btp-manager/pull/720

ukff commented 5 months ago

UI: https://github.com/kyma-project/btp-manager/pull/728

szwedm commented 5 months ago
  • Marketplace: Create CRUD Service Instances Backend (Marcin)

Done in: https://github.com/kyma-project/btp-manager/pull/742

szwedm commented 4 months ago

Service Bindings in SM client and Service Instances in API: https://github.com/kyma-project/btp-manager/pull/735

szwedm commented 4 months ago

To do (as of 16.07.24):

szwedm commented 4 months ago

Service Bindings API: https://github.com/kyma-project/btp-manager/pull/757

szwedm commented 4 months ago

Service Instances API: https://github.com/kyma-project/btp-manager/pull/758

szwedm commented 4 months ago

Service Bindings API extension and tests: https://github.com/kyma-project/btp-manager/pull/772

szwedm commented 4 months ago

Meeting notes 31.07

szwedm commented 3 months ago

Error handling improvements: https://github.com/kyma-project/btp-manager/pull/779

PK85 commented 3 months ago

Meeting notes 6.08.2024:

ralikio commented 3 months ago

I have discovered a troublesome behaviour: If a service binding with the same name binding (just an example name that does not matter in the example) for both binding and secret exists then creating another service binding with the following request fails but binding is created despite the API error:

{
name: "binding-new-name"
secret_name: "binding"
secret_namespace: "default"
service_instance_id: "872fe846-569e-4e54-98de-04983e8ea194"
}
szwedm commented 3 months ago

I have discovered a troublesome behaviour: If a service binding with the same name binding (just an example name that does not matter in the example) for both binding and secret exists then creating another service binding with the following request fails but binding is created despite the API error:

{
name: "binding-new-name"
secret_name: "binding"
secret_namespace: "default"
service_instance_id: "872fe846-569e-4e54-98de-04983e8ea194"
}

PR with the fix: https://github.com/kyma-project/btp-manager/pull/826

PK85 commented 2 months ago

Testing results:

PK85 commented 2 months ago

How to demo: 1) show 3 credentials in the Kyma cluster, two from SA_1 and one from SA_2 (show new UI, Busola and BTP Cockpit)

Note: right now we do not pass CLUSTER_ID. Then in the BTP Cockpit instance we see SM instance name-serviceID