Closed alban closed 5 years ago
Files:
list all the OPA policies on the command line:
- name: opa image: openpolicyagent/opa:0.10.1 imagePullPolicy: IfNotPresent args: - "run" - "--server" - "--addr=http://127.0.0.1:8181" - "/etc/opa-policies/parameters.rego" - "/etc/opa-policies/default-policy-matches.rego" - "/etc/opa-policies/default-kubernetes-matches.rego" ...
because I thought it was not possible to avoid loading dotted files from configmaps.
But opa has the option --ignore: https://github.com/open-policy-agent/opa/issues/1109#issuecomment-448395503
opa
--ignore
We should try this.
Files:
list all the OPA policies on the command line:
because I thought it was not possible to avoid loading dotted files from configmaps.
But
opa
has the option--ignore
: https://github.com/open-policy-agent/opa/issues/1109#issuecomment-448395503We should try this.