def set_status(phase: str, message: str, current: int, desired: int) -> dict:
    """
    set_status is a convinience function to return status messages
    used by kopf to update a custom resource status
    """
    return {
        'phase': phase, 'currentReplicas': current, 'desiredReplicas': desired, 'lastMessage': message}