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

user should be able to display details about SB #5659

Closed
4 tasks
Tracked by #5607 ...
kadel opened this issue Apr 13, 2022 · 0 comments · Fixed by #5773
Closed
4 tasks
Tracked by #5607 ...

user should be able to display details about SB #5659

kadel opened this issue Apr 13, 2022 · 0 comments · Fixed by #5773
Assignees
Labels
area/binding Issues or PRs related to `odo add/delete binding *` commands or Service Binding Operator kind/user-story An issue of user-story kind

Comments

@kadel
Copy link
Member

kadel commented Apr 13, 2022

User Story

  • As an odo user
  • I want to be able to get details of odo binding
  • So that I know what binding information is available in my application

Acceptance Criteria

  • odo describe binding should display details about all binding in the current devfile.yaml and in the cluster that belong to the current component
  • odo describe binding --name <binding name> should display details about given binding only in current namespace
  • json output
  • support for both SB resources
    • servicebindings.binding.operators.coreos.com
    • servicebindings.servicebinding.io

/kind user-story

Example

$ odo describe binding
ServiceBinding used by the current component:

Service Binding Name: myapp-mymongo
Services:
 - mymongo (PerconaServerMongoDB.psmdb.percona.com)
Bind as files: true
Detect binding resources: false
Available biding information: 
- /bindings/myapp-mymongo/username
- /bindings/myapp-mymongo/password

Service Binding Name: myapp-mymongo2
Service: 
 - mymongo (PerconaServerMongoDB.psmdb.percona.com)
Bind as files: false
Detect binding resources: false
Available biding information:
- PERCONASERVERMONGODB_PASSWORD
- PERCONASERVERMONGODB_USERNAME

# if service binding exists in devfile but not on the cluster
Service Binding Name: myapp-mymongo3
Services:
 - mymongo (PerconaServerMongoDB.psmdb.percona.com)
Bind as files: false
Detect binding resources: false
Available biding information: unknown
$ odo describe binding --name myapp-mymongo2
Service Binding Name: myapp-mymongo2
Services:
 -  mymongo (PerconaServerMongoDB.psmdb.percona.com)
Bind as files: false
Detect binding resources: false
Available biding information:
- PERCONASERVERMONGODB_PASSWORD
- PERCONASERVERMONGODB_USERNAME
@kadel kadel mentioned this issue Apr 13, 2022
5 tasks
@kadel kadel added the triage/needs-information Indicates an issue needs more information in order to work on it. label Apr 13, 2022
@kadel kadel mentioned this issue May 5, 2022
20 tasks
@kadel kadel added kind/user-story An issue of user-story kind area/binding Issues or PRs related to `odo add/delete binding *` commands or Service Binding Operator and removed triage/needs-information Indicates an issue needs more information in order to work on it. labels May 5, 2022
@kadel kadel changed the title user should be able to display deailts about SB user should be able to display details about SB May 12, 2022
@kadel kadel moved this to Todo in odo v3-beta1 May 18, 2022
@feloy feloy mentioned this issue May 30, 2022
3 tasks
@feloy feloy moved this from Todo to For Review in odo v3-beta1 May 31, 2022
Repository owner moved this from For Review to Done in odo v3-beta1 Jun 3, 2022
@rm3l rm3l added the v3 label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/binding Issues or PRs related to `odo add/delete binding *` commands or Service Binding Operator kind/user-story An issue of user-story kind
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants