-
Notifications
You must be signed in to change notification settings - Fork 989
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
test workflow fails after bootstrap - Failed initializing schema #20
Comments
I am having the same issue and tried to workaround it without success. First thing i did was trying to ignore-missing-schemas in the kubeval command After doing that I am able to progress yet having the next issue.
As you can see it detects missing metadata in the kustomization.yaml... I then added the a metadata field in the kustomization.yaml
After doing this I've got and exit 1 and the same error from the begining ;).
Then I tried downloading the missing schema
I also had to add the following base dependency of the schema.
Then I had an exit 1 with no more details.
After that i removed the --ignore-missing-schemas from the kubeval command in
I got the same result. There weren't schema missing errors yet the exit code 1. These are the warnings i got.
|
I bootstrapped an existing k8s cluster with the staging config. After it committed the flux-system files the test workflow started failing. Here is the pertinent part of the log
It seems to be failing at line 45:
kubeval ${file} --strict --additional-schema-locations=file:///tmp/flux-crd-schemas
Any suggestions?
The text was updated successfully, but these errors were encountered: