-
Notifications
You must be signed in to change notification settings - Fork 269
Adds cvo opt-in annotation for proxy #281
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
Conversation
|
@squeed I can use some guidance on how this should be tested. I was thinking an e2e, but I don't see any exist e2e for CNO. |
|
@danehans yeah, we don't have plans for this kind of e2e (though we have designs for other e2e bits..). Honestly the best way to test this, if you're not sure that it does what it should, is to jump on the CI cluster and check everything out. |
|
Hmm - if we're the ones generating this, can we just update our own env ;-) ? |
? the operator deployment is managed by the CVO. So you need this annotation so the CVO will add the proxy env vars to your deployment. If you tried to add them yourself, the CVO would stomp your deployment back to what it thinks it is supposed to look like (no env vars) |
I just meant with |
we were told that golang's transport libs initilize on load, so setting the env var after is not going to have a useful effect. and @danehans that is something to consider when you are doing your readiness endpoint checking as well... ensuring that the transport connection you are opening is actually going through the proxy (in addition to using the generated CA bundle) |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bparees, danehans The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
b0dcfed to
5802f26
Compare
|
New changes are detected. LGTM label has been removed. |
|
cc the othe squ.*: @squeed |
|
This PR may not be needed since #277 will use static proxy settings instead of from env vars. /hold |
it's needed if and only if the network operator itself (not its operands) needs to make off-cluster requests. (not including the off-cluster requests that will be made to the proxy readiness endpoint) |
|
Closing b/c we don't believe CNO needs to consume proxy. |
Required by #277
Adds cvo proxy opt-in annotation to inject proxy env var's from openshift/cluster-version-operator#224.
/assign @squeed @bparees