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

Possibility to deploy the operator in an arbitrary namespace #41

Open
guicassolato opened this issue Apr 22, 2022 · 1 comment
Open
Labels
area/tooling Makefile and scripts for the dev workflow, testing, etc kind/enhancement New feature or request size/small

Comments

@guicassolato
Copy link
Collaborator

Authorino Operator's deployment manifests, generated using this make target, currently enforce authorino-operator as the Kubernetes namespace to run the operator workload.

While on one hand that single-file manifest is very useful to install and deploy the Operator and the CRDs, changing the operator namespace, on the other hand, is not straightforward, requiring all occurrences of namespace: authorino-operator in the file, as well as the name of Namespace resource itself, to be properly replaced.

Except in the RoleBinding and ClusterRoleBinding resources, mentioning the Kubernetes namespace could be avoided, but in general, perhaps using a placeholder to ensure assertive replacement (e.g. making possible to rely on envsubst)? Another option would be relying more on Operator Lifecyle Manager to install the operator? Although it's not available by default in Kubernetes, but only in OpenShift.

@jjaferson
Copy link
Contributor

@guicassolato The only problem with the OLM is that it doesn't come by default in Kubernetes which would generate a dependency on the operator, I would be more inclined to use envsubst to replace the operator namespace to use a custom one.

@jjaferson jjaferson self-assigned this May 4, 2022
@Boomatang Boomatang self-assigned this Aug 17, 2023
@guicassolato guicassolato added kind/enhancement New feature or request size/small area/tooling Makefile and scripts for the dev workflow, testing, etc labels Nov 10, 2023
@Boomatang Boomatang removed their assignment Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tooling Makefile and scripts for the dev workflow, testing, etc kind/enhancement New feature or request size/small
Projects
Status: No status
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants