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

kuma-cp: add a validating admission web hook to verify correctness of <port>.service.kuma.io/protocol annotations on k8s Service objects #611

Merged

Conversation

yskopets
Copy link
Contributor

Summary

  • add a validating admission web hook to verify correctness of <port>.service.kuma.io/protocol annotations on k8s Service objects

@yskopets yskopets requested review from a team and jakubdyszkiewicz February 28, 2020 08:58
@yskopets yskopets added this to the 0.4.0 milestone Feb 28, 2020
Copy link
Contributor

@jakubdyszkiewicz jakubdyszkiewicz left a comment

Choose a reason for hiding this comment

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

Can we / Does it make sense to also validate that for example with "8080.service.kuma.io/protocol" there is actually port 8080 in the service? While testing tracing I made a mistake that I put a wrong port (8080 instead of 3001) and it took me a while to figure out my mistake.

@yskopets yskopets force-pushed the feature/improve-ux-on-k8s-by-returning-descriptive-error-messages branch from 45c4410 to 6074951 Compare February 28, 2020 12:12
@jakubdyszkiewicz jakubdyszkiewicz force-pushed the feature/add-validating-web-hook-for-k8s-services branch from 047e362 to 2b90a8c Compare March 30, 2020 15:39
@jakubdyszkiewicz jakubdyszkiewicz changed the base branch from feature/improve-ux-on-k8s-by-returning-descriptive-error-messages to master March 30, 2020 15:40
yskopets and others added 3 commits April 6, 2020 12:16
… `<port>.service.kuma.io/protocol` annotations on k8s Service objects
@jakubdyszkiewicz jakubdyszkiewicz force-pushed the feature/add-validating-web-hook-for-k8s-services branch from 2b90a8c to af9bc51 Compare April 6, 2020 10:17
@jakubdyszkiewicz jakubdyszkiewicz merged commit 53734e4 into master Apr 6, 2020
@jakubdyszkiewicz jakubdyszkiewicz deleted the feature/add-validating-web-hook-for-k8s-services branch April 6, 2020 13:03
tharun208 pushed a commit to tharun208/kuma that referenced this pull request Apr 6, 2020
…ss of `<port>.service.kuma.io/protocol` annotations on k8s Service objects (kumahq#611)
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.

None yet

2 participants