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

ingressclass is hardcoded to nginx #224

Open
asteven opened this issue Feb 14, 2022 · 3 comments
Open

ingressclass is hardcoded to nginx #224

asteven opened this issue Feb 14, 2022 · 3 comments
Labels
bug 🐛 Something isn't working good first issue Good for newcomers
Milestone

Comments

@asteven
Copy link

asteven commented Feb 14, 2022

Describe the bug
The created ingress resource is annotated with: "kubernetes.io/ingress.class: nginx".
I use traefik, not nginx. The nexus-operator is unusable with a non-nginx ingress.

To Reproduce
Steps to reproduce the behavior:

  1. Create an nexus instance with networking.exposeAs: Ingress
  2. See that the ingress is created with a annotation: "kubernetes.io/ingress.class: nginx"

Expected behavior
Ingress should be created without any annotation. It is up to the cluster operator to set the desired default ingress.class. If needed a custom ingress can be set via a custom annotation or allow setting the spec.ingressClassName somehow.

Environment
Behaves the same no matter what the env is.

@asteven asteven added the bug 🐛 Something isn't working label Feb 14, 2022
@ricardozanini ricardozanini added the good first issue Good for newcomers label Feb 15, 2022
@ricardozanini ricardozanini added this to the v0.7.0 milestone Feb 15, 2022
@ricardozanini
Copy link
Member

Can you create the Nexus instance without the Ingress and manually create yours as a workaround?

@asteven
Copy link
Author

asteven commented Feb 15, 2022

Sure. That's what I'm doing.
I configure my nexus instance with networking.expose=false and create an ingress with a different name myself.
If my custom ingress has the same name as the nexus instance your operator deletes it.

@ricardozanini
Copy link
Member

Hmm, this is a bug, should not delete it if it's not owned by the operator. Many thanks for reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants