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

Fix local-cluster-up on Mac and discovery on all systems #38389

Merged

Conversation

sttts
Copy link
Contributor

@sttts sttts commented Dec 8, 2016

  • use cfssl on the host, not from Docker. Solves a number of permission problem with selinux and Mac
  • fix discovery startup

@sttts sttts requested a review from deads2k December 8, 2016 14:20
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 8, 2016
@k8s-reviewable
Copy link

This change is Reviewable

@sttts sttts changed the title Fix local-cluster-up on Mac Fix local-cluster-up on Mac and discovery on all systems Dec 8, 2016
@sttts sttts force-pushed the sttts-local-cluster-up-on-mac branch from c356a58 to c5b6628 Compare December 8, 2016 14:22
@deads2k
Copy link
Contributor

deads2k commented Dec 8, 2016

roll in #38359 too

@deads2k
Copy link
Contributor

deads2k commented Dec 8, 2016

Actually, lets just make the whole thing switchable on START_DISCOVERY=true

@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-label-needed labels Dec 8, 2016
@@ -147,6 +147,14 @@ function test_docker {
fi
}

function test_cfssl {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be test_cfssl_installed

@@ -147,6 +147,14 @@ function test_docker {
fi
}

function test_cfssl {
if ! cfssl &>/dev/null || ! cfssljson &>/dev/null; then
Copy link
Contributor

Choose a reason for hiding this comment

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

cfssljson seems to hang for me (probably because it waits for something in stdin). How about using which or something else to verify the binary exists?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed already.

@sttts sttts force-pushed the sttts-local-cluster-up-on-mac branch from c5b6628 to 49e9247 Compare December 8, 2016 15:08
@sttts sttts force-pushed the sttts-local-cluster-up-on-mac branch from 49e9247 to 983fc20 Compare December 8, 2016 15:10
@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 8, 2016
@0xmichalis 0xmichalis added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Dec 8, 2016
@0xmichalis
Copy link
Contributor

LGTM, unbreaks hack/local-up-cluster.sh on master

@0xmichalis
Copy link
Contributor

@deads2k do you want something more here?

@0xmichalis 0xmichalis added the priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. label Dec 8, 2016
@deads2k deads2k added lgtm "Looks good to me", indicates that a PR is ready to be merged. retest-not-required labels Dec 8, 2016
@deads2k
Copy link
Contributor

deads2k commented Dec 8, 2016

@deads2k do you want something more here?

this looks fine.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 79f497b into kubernetes:master Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants