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

Fix: enable multinamespaced mode for the webhook #103

Merged
merged 1 commit into from
May 27, 2021

Conversation

roivaz
Copy link
Member

@roivaz roivaz commented May 27, 2021

Since now the bootstrap config for the envoy pods is generated by an
init container, the webhook needs to inject the address of the discovery
service in the Pod. To do so it inspects the DiscoveryService resources
present in the Pod's namespace. This was failing for the multinamespaced
OLM install mode as the code to manage this was missing from the
webhook.

/kind bug
/priority important-soon
/assign

Since now the bootstrap config for the envoy pods is generated by an
init container, the webhook needs to inject the address of the discovery
service in the Pod. To do so it inspects the DiscoveryService resources
present in the Pod's namespace. This was failing for the multinamespaced
OLM install mode as the code to manage this was missing from the
webhook.
@3scale-robot 3scale-robot added kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next sprint. labels May 27, 2021
@3scale-robot 3scale-robot added needs-size Indicates a PR or issue lacks a `size/foo` label and requires one. size/S Requires less than a day to complete the PR or the issue. and removed needs-size Indicates a PR or issue lacks a `size/foo` label and requires one. labels May 27, 2021
@roivaz
Copy link
Member Author

roivaz commented May 27, 2021

/ok-to-test

@3scale-robot 3scale-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label May 27, 2021
Copy link
Contributor

@raelga raelga left a comment

Choose a reason for hiding this comment

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

/lgtm

@3scale-robot 3scale-robot added the lgtm Indicates that a PR is ready to be merged. label May 27, 2021
@3scale-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: eb0f3bfcb06386fab3434d945257d6a3f25a65d8

@slopezz
Copy link
Member

slopezz commented May 27, 2021

/lgtm

@roivaz
Copy link
Member Author

roivaz commented May 27, 2021

/approve

@3scale-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: roivaz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@3scale-robot 3scale-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 27, 2021
@3scale-robot 3scale-robot merged commit bfadda5 into main May 27, 2021
@3scale-robot 3scale-robot deleted the fix/webhook-multinamespaces-mode-permissions branch May 27, 2021 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next sprint. size/S Requires less than a day to complete the PR or the issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants