Created
November 1, 2017 11:28
-
-
Save luszczynski/39c7c06a57febe3124091182698c5bcc to your computer and use it in GitHub Desktop.
Creating secrets on Openshift CLI
This file contains hidden or 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
oc new-project test | |
oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git -n test | |
oc secrets new mysecret trustore=foo.txt -n test | |
oc secrets link default mysecret -n test | |
oc volumes dc/ruby-ex -n test | |
oc volumes dc/ruby-ex --add --mount-path=/tmp/test --secret-name=mysecret --type=secret -n test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment