-
Notifications
You must be signed in to change notification settings - Fork 365
Loosen file name validation for kubernetes service bindings #4525
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
Loosen file name validation for kubernetes service bindings #4525
Conversation
- The ServiceBinding spec has been updated to explicitly mention that underscores are valid in credential keys (https://github.com/servicebinding/spec/blob/main/README.md#workload-projection). Updating the implementation to match the change in the spec Signed-off-by: Tom Kennedy <[email protected]>
8aa4ab4
to
128aab4
Compare
Changes in cloud_controller_ng: - Loosen file name validation for kubernetes service bindings PR: cloudfoundry/cloud_controller_ng#4525 Author: Tom Kennedy <[email protected]>
@tomkennedy513 @sethboyles @Gerg @stephanme - As underscores were not valid before, we are transforming several It would be nice to remove this transformation, although it's an incompatible change. But this feature is marked as experimental, so the question is: shall we dare? |
ya, I left that alone because I wasn't sure if it would be ok to break that. If you think its ok, I'm happy to open another pr. |
@tomkennedy513 : we discussed changing the mapping of the A PR would be very appreciated. |
- The ServiceBinding spec has been updated to explicitly mention that underscores are valid in credential keys (https://github.com/servicebinding/spec/blob/main/README.md#workload-projection). Updating the implementation to match the change in the spec Signed-off-by: Tom Kennedy <[email protected]>
Thi sis not needed as per cloudfoundry#4525 (comment) Signed-off-by: Tom Kennedy <[email protected]>
This is not needed as per cloudfoundry#4525 (comment) Signed-off-by: Tom Kennedy <[email protected]>
@stephanme Here is the pr #4542 |
) This is not needed as per #4525 (comment) Signed-off-by: Tom Kennedy <[email protected]>
Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:
The ServiceBinding spec has been updated to explicitly mention that underscores are valid in credential keys (https://github.com/servicebinding/spec/blob/main/README.md#workload-projection). Updating the implementation to match the change in teh spec
Many service bindings contain underscores in the credential keys. Previously these would return an error even though the spec only stated that credential keys should match the previous regex. The spec was updated to better clarify what should be allowed in credential keys
Links to any other associated PRs
I have reviewed the contributing guide
I have viewed, signed, and submitted the Contributor License Agreement
I have made this pull request to the
main
branchI have run all the unit tests using
bundle exec rake
I have run CF Acceptance Tests