Setting a Proxy Server for the UI

Set the proxy server configuration to use with the UI.

If you have installed a non default application catalog, such as the Artifact Hub catalog, and the deployment network uses a proxy server, you might need to update the ui application to include the proxy server information. Use the same proxy information used in a configuration file to create the cluster.

  1. Create a proxy configuration file.

    Create a YAML file that includes the proxy information. Use the format:

    env:
      - name: https_proxy
        value: proxy_server:port
      - name: http_proxy
        value: proxy_server:port
      - name: no_proxy
        value: exclusion_list

    For example:

    env:
      - name: https_proxy
        value: http://myproxy.example.com:2138
      - name: http_proxy
        value: http://myproxy.example.com:2138
      - name: no_proxy
        value: ".example.com,127.0.0.1,localhost,169.254.169.254,10.96.0.0/12,10.244.0.0/16"
  2. Update the ui application.

    Use the ocne application update command to update the ui application in the ocne-system namespace. Use the syntax:

    ocne application update 
    {-b|--built-in-catalog}
    [{-c|--catalog} name]
    [{-n|--namespace} namespace] 
    {-r|--release} name 
    [--reset-values]
    [{-u|--values} URI]
    [{-v|--version} version] 

    For more information on the syntax options, see Oracle Cloud Native Environment: CLI.

    For example:

    ocne application update --namespace ocne-system --release ui --values myproxy.yaml