diff --git a/reconcile/openshift_base.py b/reconcile/openshift_base.py index 523805b4aa..5e2d96f7a9 100644 --- a/reconcile/openshift_base.py +++ b/reconcile/openshift_base.py @@ -331,6 +331,7 @@ def fetch_current_state( init_api_resources: bool = False, cluster_admin: bool = False, caller: str | None = None, + init_projects: bool = False, ) -> tuple[ResourceInventory, OC_Map]: ri = ResourceInventory() settings = queries.get_app_interface_settings() @@ -340,6 +341,7 @@ def fetch_current_state( integration=integration, settings=settings, internal=internal, + init_projects=init_projects, use_jump_host=use_jump_host, thread_pool_size=thread_pool_size, init_api_resources=init_api_resources, diff --git a/reconcile/openshift_saas_deploy.py b/reconcile/openshift_saas_deploy.py index 550a016bbe..de1f0c8911 100644 --- a/reconcile/openshift_saas_deploy.py +++ b/reconcile/openshift_saas_deploy.py @@ -224,6 +224,7 @@ def run( init_api_resources=True, cluster_admin=bool(saasherder.cluster_admin), use_jump_host=use_jump_host, + init_projects=True, ) if defer: # defer is provided by the method decorator. this makes just mypy happy defer(oc_map.cleanup)