Currently, olm addon do not use kustomization, so introducing that. Also, this change will start using cache for those resources, so starting addons can directly use the cached resources.
Changes:
upgrade olm version to v0.27.0
Add a new single cluster env for olm
Use kustomization for olm resources
Cache the kustomization resources
Example demonstrating how the cache works:
Fetching of resources for envs/olm.yaml:
$ drenv fetch envs/olm.yaml
2024-05-20 00:51:53,536 INFO [olm] Fetching
2024-05-20 00:51:53,538 INFO [olm] Running addons/olm/fetch
2024-05-20 00:51:58,611 INFO [olm] addons/olm/fetch completed in 5.07 seconds
2024-05-20 00:51:58,611 INFO [olm] Fetching finishied in 5.08 seconds
Fetching resources may take different amount of time for different runs. And once fetched, addons can directly use these resources to get started, saving time taken to fetch the resources(~5sec in this case) and escaping any network failure situation.
Currently, olm addon do not use kustomization, so introducing that. Also, this change will start using cache for those resources, so starting addons can directly use the cached resources.
Changes:
Example demonstrating how the cache works:
Fetching of resources for envs/olm.yaml:
Fetching resources may take different amount of time for different runs. And once fetched, addons can directly use these resources to get started, saving time taken to fetch the resources(~5sec in this case) and escaping any network failure situation.
Size of the cache, the drenv directory tree:
Fixes: #1337 Fixes: #1260