You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an strange issue with the plugin that is not happening with the conftest cli. When I try to use a policy package mounted from a kubernetes configMap into a folder I get errors saying that a rule definition is duplicated (I don't think the specific error is important), but if I copy the folder from other location to a new folder and point the flag --policy to that folder the plugin works.
If I mount the same confiMap to the same path but I use conftest instead of the helm plugin I don't encounter the problem.
I think that the policy configmap being mounted as a folder that ends up with symbolic links could be the source of the problem. This could be related: open-policy-agent/opa#782
Is the helm plugin using the same backend as the CLI?
Thank you for your work!
Let me know if I can help. You can ping me on Slack if you want (ralgozino).
The text was updated successfully, but these errors were encountered:
ralgozino
changed the title
Problem using mounted configMap
Problem using policy folder mounted configMap
Dec 17, 2019
ralgozino
changed the title
Problem using policy folder mounted configMap
Problem using policy configMap mounted as folder
Dec 17, 2019
Hello Gareth!
I'm having an strange issue with the plugin that is not happening with the conftest cli. When I try to use a policy package mounted from a kubernetes configMap into a folder I get errors saying that a rule definition is duplicated (I don't think the specific error is important), but if I copy the folder from other location to a new folder and point the flag --policy to that folder the plugin works.
If I mount the same confiMap to the same path but I use
conftest
instead of the helm plugin I don't encounter the problem.I think that the policy configmap being mounted as a folder that ends up with symbolic links could be the source of the problem. This could be related: open-policy-agent/opa#782
Is the helm plugin using the same backend as the CLI?
Thank you for your work!
Let me know if I can help. You can ping me on Slack if you want (ralgozino).
The text was updated successfully, but these errors were encountered: