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).
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
conftestinstead 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).