-
Notifications
You must be signed in to change notification settings - Fork 13
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
kola: More calico fixes #359
Conversation
03b7230
to
a9fe693
Compare
This is to minimize the differences between upstream definition file and our modified one.
We were often getting an error like: error: unable to recognize "calico.yaml": no matches for kind "Installation" in version "operator.tigera.io/v1"
a9fe693
to
5adf559
Compare
Another test run: http://jenkins.infra.kinvolk.io:8080/job/container/job/test/1989/console |
Tested with my toolchain update build: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/204/cldsv/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for digging into this - it should be more reliable in this way. :)
Thanks for the review. I just remembered that this needs an entry in the changelog. Added one and merged. If you have some suggestions about the entry, I'll fix eventually. |
I'll need to update the github action to mention in the created PR that these templates should be manually compared with the original versions.There seemed to be a race between using one manifest file to create CRDs and afterwards applying another manifest file that was using those CRDs. Sometimes the CRDs were not established, so the resources of that type could not be used. Use
kubectl wait
to make sure that those CRDs are ready.While at it, sync our modified custom-resources.yaml manifest with the upstream and add a note about it to the github action. The note looks like in this PR: krnowak#2.
Test run: http://jenkins.infra.kinvolk.io:8080/job/container/job/test/1988/console (note the
customresourcedefinition.apiextensions.k8s.io/installations.operator.tigera.io condition met
line in the output, after CRDs were created, but before the object of that type was created).