-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Extract keygen image #19241
Extract keygen image #19241
Conversation
Labelling this PR as size/XL |
Labelling this PR as size/XL |
GCE e2e test build/test passed for commit f7e6c7dd2688416080188fd0859a22ebe59ff251. |
Based on conversation with @sttts I'll be extracting the keygen container source to its own repo so it's easier for us to maintain. |
64a77e5
to
4c0b404
Compare
if [ "${ENABLE_CLUSTER_DNS}" == "true" ]; then | ||
echo "Deploying DNS Addon" 1>&2 | ||
#TODO: curling to get a script to make a tempdir is a bit overkill... | ||
curl -o- https://raw.githubusercontent.com/karlkfi/intemp/v1.0.0/intemp.sh | bash -s -- -t 'kube-dns' "${bin}/deploy-dns.sh" |
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.
I'm not a big fan of curl bash piping, but there doesn't seem to be any other good way to manage external bash dependencies without requiring the user to have them installed and in PATH. On the plus side, it's executing a versioned file on github, and not something on head of master, but it's still not exactly faster or secure.
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.
I thought about maybe putting intemp in a docker container, but that seems like even more overkill for such a small function...
GCE e2e test build/test passed for commit 64a77e5196e94152446e3241334706cb1c2b7e75. |
GCE e2e test build/test passed for commit 4c0b404e9c0537e86704569833b521ceaa659e24. |
GCE e2e test build/test passed for commit 790ad3905cf6d38a66942b717681c6417794b499. |
GCE e2e test build/test passed for commit d72319b697c012edf5d46c53580c68b08df7e20d. |
@sttts you wanna give this another pass? |
- Move keygen image mesosphere/kubernetes-mesos-keygen -> mesosphere/kubernetes-keygen:v1.0.0 - Remove resolveip in favor of github.com/karlkfi/resolveip (resolveip.sh) - Remove util-temp-dir.sh in favor of github.com/karlkfi/intemp (intemp.sh) - Refactor bash code to use intemp (extract functions to scripts) - Remove util-ssl.sh in favor of mesosphere/kubernetes-keygen
lgtm |
Flakey mesos unit tests?
|
@k8s-bot test this please |
GCE e2e build/test failed for commit 36f2161. |
Hey, @davidopp. This PR vendors in a bash library I wrote into |
@davidopp PTAL |
Scale test flake:
|
@k8s-bot test this please |
GCE e2e build/test failed for commit 36f2161. |
yet more flakiness...
|
@k8s-bot e2e test this please |
GCE e2e test build/test passed for commit 36f2161. |
GCE e2e test build/test passed for commit 36f2161. |
LGTM |
@k8s-bot test this Tests are more than 48 hours old. Re-running tests. |
GCE e2e test build/test passed for commit 36f2161. |
@k8s-bot test this Tests are more than 48 hours old. Re-running tests. |
GCE e2e test build/test passed for commit 36f2161. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 36f2161. |
The mesos/docker cluster uses a docker image to generate rsa keys, ssl root authorities, and ssl certificates. I've extracted this docker image to its own repo.
This is part of an effort to make the mesos/docker cluster scripts more maintainable and abstract, to enable extraction of a similar non-mesos docker cluster.
Changes: