keycloak / keycloak-operator

ARCHIVED Kubernetes Operator for the no longer supported WildFly distribution of Keycloak
Apache License 2.0
432 stars 280 forks source link

customized ingress resource is deleted as soon as a Keycloak pod is killed. #583

Closed JohnBoyB closed 2 years ago

JohnBoyB commented 2 years ago

Describe the bug

As I've already seen in some discussions here in GitHub, it seems that it is not possible to customize the default ingress resource when deploying over the keycloak operator and e.g. pass a host with it.

For this reason I set "disableDefaultIngress: true" as described in the instructions and started my own Ingress.

So far so good and everything works as I imagined. Unfortunately now the problem occurs that the ingress resource I created is automatically deleted as soon as a keycloak pod is killed.

Does anyone else have this problem and know how to solve it?

Version

19.0.2

Expected behavior

The ingress resource I created manually remains, regardless of whether a keycloak pod is deleted or not.

Actual behavior

The ingress is delete

How to Reproduce?

No response

Anything else?

No response