-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
cluster up: add proxy support #12483
Conversation
@bparees fyi |
@@ -149,6 +149,9 @@ func NewCmdUp(name, fullName string, f *osclientcmd.Factory, out, errout io.Writ | |||
cmd.Flags().StringArrayVarP(&config.Environment, "env", "e", config.Environment, "Specify a key-value pair for an environment variable to set on OpenShift container") | |||
cmd.Flags().BoolVar(&config.ShouldInstallMetrics, "metrics", false, "If true, install metrics (experimental)") | |||
cmd.Flags().BoolVar(&config.ShouldInstallLogging, "logging", false, "If true, install logging (experimental)") | |||
cmd.Flags().StringVar(&config.HTTPProxy, "http-proxy", "", "HTTP proxy to use for master and builds") | |||
cmd.Flags().StringVar(&config.HTTPProxy, "https-proxy", "", "HTTPS proxy to use for master and builds") | |||
cmd.Flags().StringArrayVar(&config.NoProxy, "no-proxy", config.NoProxy, "List of hosts or subnets for which a proxy should not be used") |
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.
is it a list, or do you pass the arg multiple times, one per value?
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.
You can pass it either a comma-separated list or specify multiple times, one per value
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.
k
\fB\-\-persistent\-volumes\-dir\fP="/var/lib/origin/openshift.local.pv" | ||
Directory on host for OpenShift persistent volumes | ||
|
||
.PP |
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.
??
\fB\-\-persistent\-volumes\-dir\fP="/var/lib/origin/openshift.local.pv" | ||
Directory on host for OpenShift persistent volumes | ||
|
||
.PP |
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.
looks like you need to rerun docs gen?
@csrwng other than the question about the generated docs, lgtm |
@csrwng will need this backported into 3.4 once it merges. |
3d56be9
to
2bfa1a1
Compare
0e3dcb9
to
c0135d5
Compare
Now using a fixed IP for the docker registry ( Items remaining:
|
f5af096
to
d37afc4
Compare
@bparees should be ready for another review |
lgtm |
d37afc4
to
a837c86
Compare
Tested on windows, mac and linux |
[merge] |
Evaluated for origin merge up to a837c86 |
[Test]ing while waiting on the merge queue |
Evaluated for origin test up to a837c86 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12985/) (Base Commit: 68d4d0a) |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13010/) (Base Commit: 0d637fe) (Image: devenv-rhel7_5717) |
Adds arguments to cluster up to set http, https proxy and no_proxy
Fixes #11323