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: use deployment namespace if provided when generating RoleBindings #456

Merged
merged 4 commits into from
Dec 14, 2022

Conversation

metacosm
Copy link
Member

  • fix: use deployment namespace if provided when generating RoleBindings
  • fix: make sure we run after the AddNamespaceDecorator
  • chore: test that different deployed in / watched namespaces works

The reason for this is that the `AddNamespaceDecorator` will overwrite
any namespaces we might have set on our `RoleBindings` if we let it run
after this decorator. Proper behavior for the `AddNamespaceDecorator`
should be to not overwrite namespaces if they have been set.
@metacosm metacosm marked this pull request as ready for review December 13, 2022 13:18
@metacosm metacosm merged commit c25b5a1 into main Dec 14, 2022
@metacosm metacosm deleted the ns-role-binding branch December 14, 2022 09:53
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.

1 participant