gatekeeper icon indicating copy to clipboard operation
gatekeeper copied to clipboard

undefined function external_data

Open fardin01 opened this issue 1 year ago • 3 comments

Describe the solution you'd like gator test should be able to somehow handle external data providers.

gator test returns undefined function external_data if external_data is being used in a ConstraintTemplate.

Anything else you would like to add: How is one supposed to test K8s yaml manifests against constraints at build time? It's not ideal to have to merge stuff and deploy and then find out the chart violates some policy.

Environment:

  • Gatekeeper version: 3.11
  • Kubernetes version: (use kubectl version): 1.23

fardin01 avatar Mar 30 '23 19:03 fardin01