Last active
September 9, 2016 07:35
-
-
Save waleedsamy/35cb02415d4ab76131b599a41360fd55 to your computer and use it in GitHub Desktop.
Kubernetes Cluster TLS using OpenSSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centurylink/openssl | |
apk add --update curl bash vim tree | |
echo "PS1='\w\$ '" >> ~/.bashrc && \ | |
source ~/.bashrc && cd | |
curl https://raw.githubusercontent.com/coreos/coreos-kubernetes/master/lib/init-ssl-ca > ~/init-ssl-ca && \ | |
chmod +x ~/init-ssl-ca | |
curl https://raw.githubusercontent.com/coreos/coreos-kubernetes/master/lib/init-ssl > ~/init-ssl && \ | |
chmod +x ~/init-ssl | |
mkdir -p ~/ssl && \ | |
~/init-ssl-ca ~/ssl && \ | |
~/init-ssl ~/ssl admin kube-admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment