Skip to content

Commit

Permalink
Added multi_document=True for the yamls which has multiple docs
Browse files Browse the repository at this point in the history
Signed-off-by: Amrita Mahapatra <[email protected]>
  • Loading branch information
amr1ta committed Jun 4, 2024
1 parent 33a9cad commit 4cb8748
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def odf_subscription_on_provider(self):
create_catalog_source()

log.info("Creating namespace and operator group.")
olm_data = templating.load_yaml(constants.OLM_YAML)
olm_data = templating.load_yaml(constants.OLM_YAML, multi_document=True)
templating.dump_data_to_temp_yaml(olm_data, constants.OLM_YAML)
run_cmd(f"oc create -f {constants.OLM_YAML}")
self.deployment.subscribe_ocs()
Expand Down

0 comments on commit 4cb8748

Please sign in to comment.