You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the e2e lab we have flaky network making downloads from github slow and unreliable. In some cases like ocm-controller, applying kustmization can fail when the remote server disconnects. We want to cache all resources consumed from github to make builds faster and more reliable.
Caching resources is not enough, we need to cache also container images. This will be tracked in a separate issue.
Addons that can be cached
These addons use a static kustomization that can be cached by the current caching infrastructure.
These addons apply resources directly from github.
We have 2 options:
Change the cache to support standalone resources
Convert them to static kustomization
Using static kustomization sounds a better way since it is easier to test with standard tools, and support easy way to modify the resources (e.g. replace image tags or prefix names).
In the e2e lab we have flaky network making downloads from github slow and unreliable. In some cases like ocm-controller, applying kustmization can fail when the remote server disconnects. We want to cache all resources consumed from github to make builds faster and more reliable.
Caching resources is not enough, we need to cache also container images. This will be tracked in a separate issue.
Addons that can be cached
These addons use a static kustomization that can be cached by the current caching infrastructure.
See ocm-controller hooks for example:
Addons accessing resources directly
These addons apply resources directly from github.
We have 2 options:
Using static kustomization sounds a better way since it is easier to test with standard tools, and support easy way to modify the resources (e.g. replace image tags or prefix names).
Addons using kustomization templates
Use a kustomization template used to create a temporary kustomization file with replaced values.
We have 2 options:
Getting rid of the kustomization templates sounds the better way. Static kustomization are easier to understand and test using standard tools.
Addons using external tools
These addons use external tool for deployment. The tool may access remote resources but we are not in control.
We can check if the tool support caching in some way.
Addons using local or no resources
The text was updated successfully, but these errors were encountered: