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

{"code":"undefined_document","message":"document missing: data.system.main"} #225

Open
sba30 opened this issue Aug 15, 2023 · 4 comments
Open

Comments

@sba30
Copy link

sba30 commented Aug 15, 2023

We are running
OPA Version - opa:0.51.0-rootless
KubeMgmt -version kube-mgmt:8.2.0

The OPA pod restarted itself, and in the logs we see {"code":"undefined_document","message":"document missing: data.system.main"}, which then leads to the following error in our cluster

Internal error occurred: failed calling webhook "validating-webhook.openpolicyagent.org": failed to call webhook: the server could not find the requested resource

Once we delete the actually pod itself, then everything works as normal.

We believed that this was the fix to the this problem happening, #210 but we still encounter this issue.

@eshepelyuk
Copy link
Contributor

eshepelyuk commented Aug 15, 2023

Hello

AFAIS from the description, #210 doesn't address your issue.
#211 and/or #221 may do, but they are not implemented yet.

For better understanding, plz attach your values.yaml

@sba30
Copy link
Author

sba30 commented Aug 16, 2023

HI, we are not using helm to deploy OPA

@eshepelyuk
Copy link
Contributor

HI, we are not using helm to deploy OPA

Unfortunately, in this case I wouldn't be able to help.

@sba30
Copy link
Author

sba30 commented Aug 16, 2023

Was there anything specific you were looking for? Which i can check in our deployment files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants