Documentation
¶
Overview ¶
Deprecated This script is only a helper for we are able to know what are the bundles that we need to deprecated on 4.9. That will be removed as soon as possible and is just added here in case it be required to be checked and used so far. The following script uses the JSON format output image to generates the yml file with all bundles which requires to be deprecated because are using the APIs which will be removed on ocp 4.9 . Example of usage: (see that we leave makefile target to help you out here) nolint: lll go run ./hack/scripts/deprecated-bundles-repo/deprecate-all/deprecated_index.go --image=testdata/reports/redhat_certified_operator_index/bundles_registry.redhat.io_redhat_certified_operator_index_v4.8_2021-08-10.json go run ./hack/scripts/deprecated-bundles-repo/deprecate-all/deprecated_index.go --image=testdata/reports/redhat_redhat_marketplace_index/bundles_registry.redhat.io_redhat_redhat_marketplace_index_v4.8_2021-08-06.json go run ./hack/scripts/deprecated-bundles-repo/deprecate-all/deprecated_index.go --image=testdata/reports/redhat_redhat_operator_index/bundles_registry.redhat.io_redhat_redhat_operator_index_v4.8_2021-08-15.json todo: remove after 4.9-GA