Skip to content

Check for existing service-binding before adding - #273

Merged
chenbh merged 1 commit into
buildpacks-community:mainfrom
pksheldon4:feature/allow-service-bindings-during-save
Dec 6, 2022
Merged

Check for existing service-binding before adding#273
chenbh merged 1 commit into
buildpacks-community:mainfrom
pksheldon4:feature/allow-service-bindings-during-save

Conversation

@pksheldon4

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

Comment thread pkg/image/update_factory.go Outdated
@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
Copy Markdown
Contributor Author

@chenbh - I made the change you requested.

@chenbh chenbh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@chenbh

chenbh commented Dec 6, 2022

Copy link
Copy Markdown
Contributor

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