Skip to content

Commit

Permalink
Merge pull request #17544 from edsantiago/emergency_man_fix
Browse files Browse the repository at this point in the history
Emergency fix for man pages: check for broken includes
  • Loading branch information
openshift-merge-robot authored Feb 17, 2023
2 parents b55df7f + 9622d25 commit 445f72d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,11 @@ $(MANPAGES): %: %.md .install.md2man docdir
-e 's;<\(/\)\?\(a\|a\s\+[^>]*\|sup\)>;;g' \
-e 's/\\$$/ /g' $< |\
$(GOMD2MAN) -out $(subst source/markdown,build/man,$@)
# FIXME: 2023-02-16: we may need a multi-commit approach to
# enable this.
# @if grep 'included file options/' docs/build/man/*; then \
# echo "FATAL: man pages must not contain ^^^^"; exit 1; \
# fi

.PHONY: docdir
docdir:
Expand Down
22 changes: 14 additions & 8 deletions docs/source/markdown/options/secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,17 @@ Secret Options

Examples

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

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

Create a secret environment variable called `ENVSEC`.
```--secret mysecret,type=env,target=ENVSEC```
Mount at `/my/location/mysecret` with UID 1:
```
--secret mysecret,target=/my/location/mysecret,uid=1
```

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

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

0 comments on commit 445f72d

Please sign in to comment.