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

Check for existing service-binding before adding #273

Conversation

pksheldon4
Copy link
Contributor

This fixes a bug where you can't use kp image save with a --service-binding if the Image Resource already included this service-binding. This was being handled for the --env option.

@pksheldon4
Copy link
Contributor Author

Fixes: Allow Service Bindings using patch/save in kpack CLI #274

pkg/image/update_factory.go Outdated Show resolved Hide resolved
@chenbh chenbh linked an issue Dec 1, 2022 that may be closed by this pull request
@pksheldon4 pksheldon4 force-pushed the feature/allow-service-bindings-during-save branch from 2429867 to 413181d Compare December 5, 2022 22:57
@pksheldon4
Copy link
Contributor Author

@chenbh - I made the change you requested.

Copy link
Contributor

@chenbh chenbh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chenbh
Copy link
Contributor

chenbh commented Dec 6, 2022

Thanks!

@chenbh chenbh merged commit ad77f71 into buildpacks-community:main Dec 6, 2022
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

Successfully merging this pull request may close these issues.

Duplicate service-bindings are not ignored during patch/save
2 participants