$ oc describe proxy/cluster
The Red Hat OpenShift Pipelines Operator provides support for injecting the proxy environment variables in the network restricted environments.
As a cluster administrator, you can verify the cluster-wide proxy settings.
To verify if the cluster-wide proxy is correctly configured, run the following command:
$ oc describe proxy/cluster
The cluster proxy object displays the proxy server and certificate information.
As a cluster administrator, you can verify the environment variables to ensure that the proxy settings are correctly configured for builds for Red Hat OpenShift on an OpenShift Container Platform cluster.
To verify the environment variables, run the following command:
$ oc set env deployment/openshift-builds-operator --list -n openshift-builds | grep PROXY
The following example output lists the HTTP_PROXY
, HTTPS_PROXY
, and NO_PROXY
environment variables:
HTTP_PROXY=http://192.168.130.1:3128
HTTPS_PROXY=https://192.168.130.1:3129
NO_PROXY=.cluster.local,.svc,.testing,10.217.0.0/22,10.217.4.0/23,127.0.0.1,192.168.126.0/24,192.168.1
30.11,api-int.crc.testing,localhost