Che proxy settings configmaps are ignored on OpenShift if cluster-wide proxy is enabled. #22370
Labels
area/che-operator
Issues and PRs related to Eclipse Che Kubernetes Operator
area/devworkspace-operator
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P2
Has a minor but important impact to the usage or development of the system.
Is your enhancement related to a problem? Please describe
When running in an OpenShift cluster, proxy environment variables provisioned by the Che Operator in user namespaces are ignored due to the DevWorkspace Operator explicitly setting the HTTP_PROXY, etc. environment variables in workspace containers.
The Che Operator provisions a
che-proxy-settings
configmap (seereconcileProxySettings()
) that is intended to be automounted as environment variables to all workspaces in the namespace. However, since the DevWorkspace Operator has its own logic for detecting cluster-wide proxy settings and sets environment variables within workspaces according to its own configuration, these env vars are ignored.Describe the solution you'd like
There are multiple ways we can resolve this issue:
noProxy
)Describe alternatives you've considered
I think 1) above is likely the best solution here, but multiple choices would work (including ignoring the issue, potentially)
Additional context
Related, old DevWorkspace Operator issue: devfile/devworkspace-operator#841
The text was updated successfully, but these errors were encountered: