Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

modules/ignition,platforms/*: Enable install behind HTTP proxy #2663

Merged
merged 5 commits into from
Jan 17, 2018

Conversation

lander2k2
Copy link
Contributor

This addition will allow a cluster to be installed behind an HTTP proxy
on all platforms.

@coreosbot
Copy link

Can one of the admins verify this patch?

@@ -184,6 +194,8 @@ module "ignition_workers" {
kubelet_debug_config = "${var.tectonic_kubelet_debug_config}"
kubelet_node_label = "node-role.kubernetes.io/node"
kubelet_node_taints = ""
no_proxy = "${var.tectonic_no_proxy}"
tectonic_vanilla_k8s = "${var.tectonic_vanilla_k8s}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tectonic_vanilla_k8s has been removed, need rebase

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh. Sorry 'bout that. I did see it had been removed. Mistakenly left in during merge conflict resolution.

@cpanato
Copy link
Contributor

cpanato commented Jan 4, 2018

@lander2k2 @enxebre lets wait for this #2662 to be merged and then we rebase this PR as well

@brianredbeard
Copy link
Member

Does this actually need changes to 42 files? If that's the case what's the argument for avoiding some type of inheritance to keep it DRY?

@lander2k2
Copy link
Contributor Author

@brianredbeard In order to implement across all platforms, it does indeed need changes to 42 files. 8 of those files are just docs and examples, but nonetheless, there is considerable repetition. The ignition module has improved the DRYness of these kinds of changes but deeper changes to the installer are probably a little beyond the scope of this PR. We're definitely stretching the capabilities of terraform here.

@sym3tri
Copy link
Contributor

sym3tri commented Jan 9, 2018

DRYness issues are planned to be resolved in forthcoming PRs.

@brianredbeard
Copy link
Member

@lander2k2 As this is referencing an internal resource which is not managed by the installing administrator, this should also allow for the specification of an internal certificate authority (common with the use of BlueCoat and similar products).

@lander2k2
Copy link
Contributor Author

@brianredbeard I haven't encountered the internal CA requirement related to the proxy at Ford or T-Mobile. I bet you're right about needing to do it in the future. Hopefully, we'll be on track 2 by that time and will have a cleaner mechanism to meet that requirement.

@cpanato cpanato force-pushed the master_http_proxy branch 2 times, most recently from fbc3232 to e66961e Compare January 16, 2018 16:52
@trawler
Copy link
Contributor

trawler commented Jan 17, 2018

ok to test

@trawler
Copy link
Contributor

trawler commented Jan 17, 2018

ok to test

This addition will allow a cluster to be installed behind an HTTP proxy
on VMware.  The changes have been implemented in the ignition module to
allow it to be readily added to the other platforms.

Note: this only addresses the env vars needed on the CL nodes.  There
are tectonic components - like tectonic-channel-operator - that also
need these env vars to properly function.  That will be addressed
separately.
Copy link
Contributor

@trawler trawler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@trawler trawler merged commit d79a1b0 into coreos:master Jan 17, 2018
@lander2k2 lander2k2 deleted the master_http_proxy branch January 17, 2018 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants