def parse_env_urls(urls=None):    
    """Parses a list of urls
    >>> parse_env_urls(urls='https://kibana.energy.svc.dbg.com | https://grafana.energy.svc.dbg.com')
    ['https://kibana.energy.svc.dbg.com', 'https://grafana.energy.svc.dbg.com']
    """

    urls_list = [] if urls == None else urls.split('|')
    urls_list_stripped = list(map(str.strip, urls_list))

    return urls_list_stripped