Skip to content

Commit

Permalink
Merge pull request containers#17559 from TomSweeneyRedHat/dev/tsweene…
Browse files Browse the repository at this point in the history
…y/fixsecret4.4.1

[v4.4.1-rhel] [CI:DOCS] Touch up secret man page
  • Loading branch information
openshift-merge-robot authored Feb 18, 2023
2 parents 5a3b983 + 7ddac33 commit 0b38633
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/source/markdown/options/secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,16 @@ Secret Options
Examples

Mount at `/my/location/mysecret` with UID 1.
```--secret mysecret,target=/my/location/mysecret,uid=1```
```
--secret mysecret,target=/my/location/mysecret,uid=1
```

Mount at `/run/secrets/customtarget` with mode 0777.
```--secret mysecret,target=customtarget,mode=0777```
```
--secret mysecret,target=customtarget,mode=0777
```

Create a secret environment variable called `ENVSEC`.
```--secret mysecret,type=env,target=ENVSEC```
```
--secret mysecret,type=env,target=ENVSEC
```

0 comments on commit 0b38633

Please sign in to comment.