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

up: remove --env flag #19408

Merged
merged 1 commit into from Apr 20, 2018
Merged

Conversation

mfojtik
Copy link
Member

@mfojtik mfojtik commented Apr 18, 2018

This removes the --env flag from cluster up. It was passed just to kubelet and it can cause more harm than good to support it.

/cc @deads2k

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 18, 2018
@deads2k
Copy link
Contributor

deads2k commented Apr 18, 2018

/lgtm

@mfojtik indicate a release-note that they can --write-config and update the static pod definition.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 18, 2018
@deads2k
Copy link
Contributor

deads2k commented Apr 18, 2018

/hold

It just occurred to me that the kubelet may be naughty.

@sjenning does the kubelet use env vars to control behavior? If so, we'll hide this instead.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 18, 2018
@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 19, 2018
@mfojtik
Copy link
Member Author

mfojtik commented Apr 19, 2018

/retest

@sjenning
Copy link
Contributor

@sjenning does the kubelet use env vars to control behavior?

I don't know of any behavior that is controlled that way and a quick search for calls to os.Environ() turns up nothing

@deads2k
Copy link
Contributor

deads2k commented Apr 19, 2018

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 19, 2018
@mfojtik
Copy link
Member Author

mfojtik commented Apr 20, 2018

@deads2k merge?

@deads2k
Copy link
Contributor

deads2k commented Apr 20, 2018

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 20, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, mfojtik

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 9bbdae4 into openshift:master Apr 20, 2018
@mfojtik mfojtik deleted the up-60-remove-env branch September 5, 2018 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants