Skip to content

Commit

Permalink
secret default name
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Cherkashyn authored Dec 12, 2019
1 parent 0dee44c commit 09b1dc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ maprlogin print -ticketfile /tmp/maprticket_1000 # or another filename
using file from previous command
```bash
cat /tmp/maprticket_1000
#oc create secret generic {name of secret/token} --from-file=/tmp/maprticket_1000 -n {project name}
# create secret from file ( default name )
oc create secret generic {name of secret/token} --from-file=/tmp/maprticket_1000 -n {project name}
# create secret from file with specifying the name - CONTAINER_TICKET ( oc describe {name of secret} )
oc create secret generic {name of secret/token} --from-file=CONTAINER_TICKET=/tmp/maprticket_1000 -n {project name}
```
or from content of file from previous command
Expand Down

0 comments on commit 09b1dc0

Please sign in to comment.