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

Adding cert and basic auth files for federation-apiserver #30673

Merged
merged 1 commit into from
Aug 20, 2016

Conversation

nikhiljindal
Copy link
Contributor

@nikhiljindal nikhiljindal commented Aug 16, 2016

Fixes #26731

cc @kubernetes/sig-cluster-federation @madhusudancs @colhom


This change is Reviewable

@nikhiljindal nikhiljindal added this to the v1.4 milestone Aug 16, 2016
@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. release-note-label-needed labels Aug 16, 2016
@madhusudancs
Copy link
Contributor

@nikhiljindal I guess you are already aware of this since you are one of the assigned reviewers, but just drawing your attention - PR #30615. Also, I do not want to block this PR, but I just want to give you a heads-up. I am going to rip out all the shell scripts that the initialization code implements to avoid having multiple competing implementations in our repo. My plan is to leave the shell scripts as is in 1.4 to whet the new code a bit and remove them in 1.5 time frame.

@madhusudancs
Copy link
Contributor

@nikhiljindal based on our offline discussion and to unblock you from accessing swagger spec, I have reviewed this PR. A couple of minor nits, then please feel free to add the LGTM label yourself.


Review status: 0 of 4 files reviewed at latest revision, 2 unresolved discussions.


cluster/common.sh, line 854 [r1] (raw file):

  }
}

Unnecessary blank line here.


federation/cluster/common.sh, line 248 [r1] (raw file):

  local kube_temp="${KUBE_TEMP}/federation"
  mkdir "${kube_temp}"

you need mkdir -p for safety (or handle error).


Comments from Reviewable

@nikhiljindal
Copy link
Contributor Author

Thanks @madhusudancs
Yes sorry for missing #30615.
It will be cool to convert the shell script code to Go! Didnt realize that we were going to do that in 1.4!

I have updated the code as per comments.
Also updated the code to generate a valid random password (reused existing function that generates kube password) rather than using "admin".
Thanks!

@madhusudancs
Copy link
Contributor

Reviewed 2 of 4 files at r1, 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@madhusudancs madhusudancs added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 16, 2016
@madhusudancs
Copy link
Contributor

LGTM!

@nikhiljindal nikhiljindal added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Aug 16, 2016
@nikhiljindal nikhiljindal removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 17, 2016
@nikhiljindal
Copy link
Contributor Author

Updated hack/verify-flags/exceptions.txt to fix hack/verify-flags-underscore.py

@nikhiljindal nikhiljindal added lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Aug 17, 2016
@eparis
Copy link
Contributor

eparis commented Aug 18, 2016

what makes this a p1?

@nikhiljindal
Copy link
Contributor Author

@k8s-bot unit test this issue: #30754

@nikhiljindal nikhiljindal removed the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Aug 18, 2016
@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 20, 2016
@nikhiljindal nikhiljindal removed lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Aug 20, 2016
@nikhiljindal nikhiljindal added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 20, 2016
@k8s-bot
Copy link

k8s-bot commented Aug 20, 2016

GCE e2e build/test passed for commit 56a2458.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Aug 20, 2016

GCE e2e build/test passed for commit 56a2458.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 5f9f169 into kubernetes:master Aug 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

6 participants