Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.
This repository was archived by the owner on May 24, 2023. It is now read-only.

Operator doesn't remove IngressClass on deletion #88

@pleshakov

Description

@pleshakov

Describe the bug
When the operator deploys an Ingress Controller, it creates an IngressClass resource for it. However, when the operator removes the Ingress Controller, it doesn't remove its IngressClass resource.

kubectl delete nginxingresscontrollers.k8s.nginx.org nginx-ingress-controller-one
nginxingresscontroller.k8s.nginx.org "nginx-ingress-controller-one" deleted

kubectl get ingressclass
NAME   CONTROLLER                     PARAMETERS   AGE
one    nginx.org/ingress-controller   <none>       32s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions