def METHOD_NAME(
    secret_promoter_change_type: ChangeTypeV1, namespace_file: StubFile
) -> None:
    changed_namespace_file = namespace_file.create_bundle_change(
        {"openshiftResources[1].version": 2}
    )
    processor = change_type_to_processor(secret_promoter_change_type)
    paths = processor.allowed_changed_paths(
        file_ref=changed_namespace_file.fileref,
        file_content=changed_namespace_file.new,
        ctx=ChangeTypeContext(
            change_type_processor=processor,
            context="RoleV1 - some role",
            origin="",
            approvers=[],
            context_file=namespace_file.file_ref(),
        ),
    )
    assert {str(p) for p in paths} == {"openshiftResources.[1].version"}