Skip to content

ingressclass is hardcoded to nginx #224

Description

@asteven

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions