Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It should be possible to configure operator to ignore OpenShift cluster-wide proxy config #1146

Closed
amisevsk opened this issue Jul 17, 2023 · 0 comments · Fixed by #1147
Closed
Assignees
Milestone

Comments

@amisevsk
Copy link
Collaborator

Description

On OpenShift clusters, the DevWorkspace Operator reads the cluster proxy and uses values from there to configure httpProxy, httpsProxy, and noProxy for itself and workspace containers. The DevWorkspace Operator Config CR can additionally be used to override httpProxy and httpsProxy, and to add values to noProxy, but there is no convenient way to override these fields to be unset -- setting e.g. httpProxy to "" will result in DWO treating the field as if it were unset, continuing to use the cluster-detected value.

Instead, setting any proxy field to the empty string ("") should result in DWO ignoring any values detected from the cluster.

Currently, there is a workaround: if the field is set to " " (i.e. whitespace only), DWO will use this value for proxy environment variables, effectively not propagating proxy configuration into workspaces.

Additional context

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant