gatekeeper
gatekeeper copied to clipboard
undefined function external_data
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