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

Watch .Release.Namespace by default #32

Merged
merged 2 commits into from
Apr 23, 2021
Merged

Conversation

florisvdg
Copy link
Contributor

@florisvdg florisvdg commented Apr 22, 2021

When setting --namespace, you'd expect that by default the specified namespace would be watched by the operator.

This was addressed already in #18, but was reverted due to breaking the cluster role bindings. This PR resolves that.

Small note on the implementation: values.yaml doesn't support interpolation directly. So as a workaround, we have to interpolate .Release.Namespace on the template side using the tpl function.

@florisvdg florisvdg requested a review from thatguygriff April 22, 2021 10:18
connect/values.yaml Outdated Show resolved Hide resolved
Co-authored-by: James Griffin <james.griffin-allwood@agilebits.com>
@florisvdg florisvdg requested a review from thatguygriff April 23, 2021 13:15
@florisvdg florisvdg merged commit db722c1 into main Apr 23, 2021
@florisvdg florisvdg deleted the default-namespace-watch-fix branch April 23, 2021 13:30
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.

2 participants