Fix various sources#91
Conversation
06a0d66 to
7d4a4ae
Compare
969804c to
6a66d64
Compare
|
BTW .. after opening this PR I thought that maybe I should not have updated the definitions/schemas locally and instead only push the changes to the configuration file? Not sure what your preferred workflow here is? Likewise, for local development I think it would be great if there is an option to run the update command with an additional CLI flag to filter the repository you want to update? Using this flag, you would be able to edit the configuration file, run the updater to check the result and commit (only the config change?). Would a CLI flag like that be something that you'd consider? I could open a PR for that! |
I prefer only changing the configuration file and allowing the workflow to actually make the updates, mainly to ensure changes are consistent (and not accidentally affected by local changes).
I have long been wanting to make a guide for running local testing of configuration changes, but I have not gotten around to making one. Could you describe how you tested locally? The short version of how I am testing locally is:
To debug in Go, there is this unit test. |
|
Ok ok will adapt the commits so that only the config file is modified. I did not see |
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
6a66d64 to
ceecea7
Compare
|
Oh I should probably keep the deletion of https://github.com/CustomResourceDefinition/catalog/blob/main/definitions/.yaml since there is nothing that cleans this up, right? |
Yes, this is why some sort of guide is needed :)
Yes |
The
koperatorrepository had a wrong version prefix and we were not able to detect any versions.The following repos all used
searchPathsinstead ofkustomizationPathswhich caused the inclusion of CRDs with an empty group and kind. Take for example https://github.com/aws/amazon-network-policy-controller-k8s/tree/main/config/crd which contains both CRDs and patches for those CRDs. The usage ofsearchPathswill now cause those patches to overwrite the actual CRD. The end result is that we get a file like https://github.com/CustomResourceDefinition/catalog/blob/main/definitions/.yaml in the catalog:The repository https://github.com/upbound/provider-terraform was removed and therefore deleted from the configuration file as well.
The
clusternetrepo was missing some helm values to render properly.