-
Notifications
You must be signed in to change notification settings - Fork 323
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
ProxyDefaults CRD #328
ProxyDefaults CRD #328
Conversation
* Also make controller and webhook code generic * Update to controller-runtime 0.6.3 to fix spurious log error message.
4102336
to
84b316f
Compare
84b316f
to
baba87b
Compare
245b858
to
d62b005
Compare
6ecbedf
to
de43cb5
Compare
617344e
to
f19ceb9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Also this branch says it has 15 commits so you may need to futz with the git history. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh, you'll need to do something about consul namespaces. Proxy Defaults can only be registered in the default consul namespace.
I think the merge takes care of that |
- Review comments
8b6943c
to
a31ae31
Compare
a31ae31
to
2469414
Compare
gonna squash and merge this pupper |
2469414
to
635a221
Compare
635a221
to
9ef644e
Compare
4f99a65
to
e261416
Compare
Changes proposed in this PR:
Implement support for
proxy-defaults
config entries:Copy its type definition over from Consul and implement
toConsul()
andmatchesConsul()
Create controller and webhook for it
Run generators to create deepcopy and yaml files
How I've tested this PR: Acceptance tests from hashicorp/consul-helm#614
How I expect reviewers to test this PR:
Reviewing the acceptance tests from hashicorp/consul-helm#614 should show that the refactoring didn't break anything
I've built ashwinvenkatesh/consul-k8s@sha256:41b9c7f6a38e1b9f8d8c444f65607d7387ebbf09c43def8911eb2c5a93f1f160 that can be tested with.
Additionally, the
webhook-cert-manager
that gets spun up here should have less noisy log lines.• not gonna lie, i felt lazy, so i copied over @lkysow description from ServiceResolver and removed the cool bit about a refactor. thanks Luke!!