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

unbind subscriber is still deleting credentials #819

Closed
maleck13 opened this issue Mar 6, 2018 · 2 comments · Fixed by #825
Closed

unbind subscriber is still deleting credentials #819

maleck13 opened this issue Mar 6, 2018 · 2 comments · Fixed by #825
Assignees
Labels
3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2

Comments

@maleck13
Copy link
Contributor

maleck13 commented Mar 6, 2018

Bug:

During unbind job we remove any credentials we stored. However this is also being done in the unbind subscriber
ubind logic https://github.com/openshift/ansible-service-broker/blob/master/pkg/broker/unbinding_subscriber.go#L89

unbind job https://github.com/openshift/ansible-service-broker/blob/master/pkg/apb/unbind.go#L74

Happy to have this assigned to me if we agree it is something that should be fixed

@shawn-hurley
Copy link
Contributor

Hey,

This was supposed to moved to the APB package when we moved to secrets for extracted credentials. https://github.com/openshift/ansible-service-broker/blob/master/pkg/apb/deprovision.go#L77

In this case, I think the bug is that unbinding_subscriber should not deal with the extracted credential.

@maleck13
Copy link
Contributor Author

maleck13 commented Mar 6, 2018

ahh ok will update this issue based on that. So really the delete in the unbind subscriber should be removed

@maleck13 maleck13 changed the title during deprovision we do not remove extracted credentials unbind subscriber is still deleting credentials Mar 6, 2018
@rthallisey rthallisey added bug 3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2 labels Mar 6, 2018
@shawn-hurley shawn-hurley self-assigned this Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants