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

Proxy configmap is not automatically re-created after deletion #125

Open
pgier opened this issue Aug 4, 2023 · 2 comments
Open

Proxy configmap is not automatically re-created after deletion #125

pgier opened this issue Aug 4, 2023 · 2 comments
Labels
bug Something isn't working high priority

Comments

@pgier
Copy link
Collaborator

pgier commented Aug 4, 2023

If I manually delete the proxy configmap, the operator can get into a bad state where it's waiting for the proxy pods to come up, but they can't come up because the configmap is missing.

A workaround for this was to disable and then re-enable TLS on the proxy to force a new config to be created.

@pgier pgier added bug Something isn't working high priority labels Aug 14, 2023
@nicoloboschi
Copy link
Contributor

The operator doesn't watch the generated resources. In order to implement this, we have to use the JOSDK secondary resource concept. This would be a huge change and I'm not sure it's worth

@pgier
Copy link
Collaborator Author

pgier commented Aug 14, 2023

It seems like the operator should have some way to bring the cluster back into a working state. Since the operator creates the configmap it should also include some way to re-sync it. Maybe have a timeout on proxy deployment readiness where it will re-apply the configmap if the proxy, or other resource, fails to become ready? Or check all resources at startup so that an operator restart will fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

2 participants