-
Notifications
You must be signed in to change notification settings - Fork 244
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
odo remove binding #5787
odo remove binding #5787
Conversation
✅ Deploy Preview for odo-docusaurus-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
e04e4cf
to
cfdb664
Compare
cfdb664
to
3ca8c24
Compare
9729486
to
3b5ab3e
Compare
/retest-required |
title: odo remove binding | ||
--- | ||
|
||
The `odo remove binding` command removes the link created between the component and a service via Service Binding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please follow the format of this page, with "Description" and "Running the command" section?
pkg/binding/add_binding.go
Outdated
@@ -0,0 +1,83 @@ | |||
package binding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you could name the files add.go
and remove.go
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feloy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest-required |
Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
bb449d3
to
242272f
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
/lgtm |
/retest-required |
* odo remove binding Signed-off-by: Parthvi Vala <[email protected]> * Documentation Signed-off-by: Parthvi Vala <[email protected]> * Refactor pkg/binding and separate add and remove code * Add unit test * Rebase alterations * Refactor * Philippe's review Signed-off-by: Parthvi Vala <[email protected]> * Rebase
Signed-off-by: Parthvi Vala [email protected]
What type of PR is this:
/kind feature
What does this PR do / why we need it:
This PR adds support for removing binding from the devfile
Which issue(s) this PR fixes:
Fixes #5693
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer:
mkdir /tmp/105; cd /tmp/105
wget https://gist.githubusercontent.com/valaparthvi/dc79e1b3854fff8b55b80b96db9e58c8/raw/4b5d8eb7532f88b18e1ab63fe13c9d3f67a678e3/devfile.yaml
3.1
odo remove binding --name cluster-sample-my-node-app
3.2
odo remove binding --name cluster-sample-my-node-app-1