-
Notifications
You must be signed in to change notification settings - Fork 116
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
Unable to use the CRD example schema #211
Comments
try without the spaces before and after each variable.
it's a weird bug in GH workflow |
Ah apologies, I modified that line to make it clearer for the issue. In my workflow it's a one liner, with no spaces in the template
|
are you able to reproduce this issue when running kubeconform locally? |
I was really struggling to figure out the syntax locally, however I want to add that after pinning the version in the yaml to the latest release Perhaps |
Ohhh very nice catch on the incorrect tag, apologies ❤️ |
Closing, the Readme has been updated 🙇 thanks for the report ❤️ |
I ran into a similar issue and the fix for me was dropping the
|
I'm trying to validate my kubernetes templates using kubeconform in a github actions workflow, however I get an error in my CI
Here is the step in my build process
I have copied the url from the README, however I get the following error:
failed initialising schema location registry: template: tpl:1:64: executing "tpl" at <.Group>: can't evaluate field Group in type struct { NormalizedKubernetesVersion string; StrictSuffix string; ResourceKind string; ResourceAPIVersion string; KindSuffix string }
It appears that {{.Group}} is not valid as part of the template string? What should I be using there instead?
The text was updated successfully, but these errors were encountered: