-
Notifications
You must be signed in to change notification settings - Fork 155
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
Configure HTTP proxy for components running in the seed #4459
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -32,6 +32,20 @@ type Seed struct { | |||
Spec SeedSpec `json:"spec"` | |||
} | |||
|
|||
func (s *Seed) SetDefaults() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will we move this to the validation hook at some point?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ValidationHooks can only act on writing requests, not on reading ones. So no, which is not quite ideal
We could copy it into the Datacenters
with a webhook on create/update, but then the Datacenters proxy settings don't get updated when the Seed proxy settings are changed, which is also not great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed.
/lgtm |
LGTM label has been added. Git tree hash: 40ecd4066702be204edd3879693373d9033e9016
|
/retest Review the full test history Silence the bot with an Also, here is a cat. |
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold |
/lgtm |
LGTM label has been added. Git tree hash: 42c0d2338445f21a79ea30832f48ec3fdd044208
|
/lgtm |
LGTM label has been added. Git tree hash: 8cc0d365f524d9c6a0018aec04b1acafa7d8eecb
|
/hold cancel |
What this PR does / why we need it:
ProxySettings
struct into the api which holds proxy settingsSeedSpec
with an optionalProxySettings
propertyNodeSettings
with an embeddedProxySettings
SetDefaults
func for the seed that sets theProxySettings
of all Datacenters to whats configured on theSeedSpec
if unsetSetDefaults
in both theSeedGetter
andSeedsGetter
ProxySettings
from the seed to set to populate proxy env vars inWhich issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #4399
Special notes for your reviewer:
Documentation:
Does this PR introduce a user-facing change?: