Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data.parameters generates errors while loading the YAML template in Gatekeeper #108

Closed
JonnieDoe opened this issue Dec 15, 2020 · 1 comment · Fixed by #112
Closed

data.parameters generates errors while loading the YAML template in Gatekeeper #108

JonnieDoe opened this issue Dec 15, 2020 · 1 comment · Fixed by #112

Comments

@JonnieDoe
Copy link

The data.parameters generates an error while loading the generated YAML template in Gatekeeper.

parameters = data.parameters {
not is_gatekeeper
}

- errors:
    - code: create_error
      message: 'check refs failed on module {libs.admission.k8s.gatekeeper.sh.K8sValidPodDisruptionBudget["lib_0"]}:
        disallowed ref data.parameters'

I think we need to update to use replicate data

@jalseth
Copy link
Collaborator

jalseth commented Jan 6, 2021

Sorry for the late response, holidays and all. While this appears to be an issue with a hard-coded value in one of Gatekeeper's dependencies (see #86), I think this issue warrants removing the data.parameters from our example lib.core package for now until that is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants