def operator(operator_apicast_openshift):
    """Return operator pod object."""

    def select_operator(apiobject):
        return apiobject.get_label("app") == "apicast" and apiobject.get_label("control-plane") == "controller-manager"

    pod = operator_apicast_openshift.select_resource("pods", narrow_function=select_operator).object()
    return pod