Skip to content

Commit

Permalink
Merge pull request containers#15784 from edsantiago/docs_dedup_tlsverify
Browse files Browse the repository at this point in the history
[CI:DOCS] Man pages: refactor common options: --tls-verify
  • Loading branch information
openshift-merge-robot authored Sep 13, 2022
2 parents ad529f3 + 76eb063 commit c643887
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 48 deletions.
1 change: 1 addition & 0 deletions docs/source/markdown/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ podman-login.1.md
podman-logout.1.md
podman-logs.1.md
podman-manifest-add.1.md
podman-manifest-create.1.md
podman-manifest-push.1.md
podman-pause.1.md
podman-pod-clone.1.md
Expand Down
5 changes: 5 additions & 0 deletions docs/source/markdown/options/tls-verify.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true,
then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified,
TLS verification will be used unless the target registry is listed as an insecure registry in registries.conf.
5 changes: 1 addition & 4 deletions docs/source/markdown/podman-build.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -627,10 +627,7 @@ timestamp.

If the only instruction in a Containerfile is `FROM`, this flag has no effect.

#### **--tls-verify**

Require HTTPS and verify certificates when talking to container registries
(defaults to true). (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
@@option tls-verify

#### **--ulimit**=*type=soft-limit[:hard-limit]*

Expand Down
4 changes: 1 addition & 3 deletions docs/source/markdown/podman-container-runlabel.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ Suppress output information when pulling images

If a container exists of the default or given name, as needed it will be stopped, deleted and a new container will be created from this image.

#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true, then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified, TLS verification will be used unless the target registry is listed as an insecure registry in containers-registries.conf(5).
@@option tls-verify

## EXAMPLES

Expand Down
4 changes: 1 addition & 3 deletions docs/source/markdown/podman-create.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,7 @@ When size is `0`, there is no limit on the amount of memory used for IPC by the

@@option timeout

#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true, then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified, TLS verification will be used unless the target registry is listed as an insecure registry in registries.conf.
@@option tls-verify

@@option tmpfs

Expand Down
6 changes: 1 addition & 5 deletions docs/source/markdown/podman-kube-play.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,7 @@ Directory path for seccomp profiles (default: "/var/lib/kubelet/seccomp"). (This

Start the pod after creating it, set to false to only create it.

#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true,
then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified,
TLS verification will be used unless the target registry is listed as an insecure registry in registries.conf.
@@option tls-verify

@@option userns.container
## EXAMPLES
Expand Down
6 changes: 1 addition & 5 deletions docs/source/markdown/podman-login.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ Password for registry

Take the password from stdin

#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true,
then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified,
TLS verification will be used unless the target registry is listed as an insecure registry in registries.conf.
@@option tls-verify

#### **--username**, **-u**=*username*

Expand Down
4 changes: 1 addition & 3 deletions docs/source/markdown/podman-manifest-add.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ configuration information.
Specify the OS version which the list or index records as a requirement for the
image. This option is rarely used.

#### **--tls-verify**

Require HTTPS and verify certificates when talking to container registries (defaults to true).
@@option tls-verify

#### **--variant**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ If a manifest list named *listnameorindexname* already exists, modify the
preexisting list instead of exiting with an error. The contents of
*listnameorindexname* are not modified if no *imagename*s are given.

#### **--tls-verify**

Require HTTPS and verify certificates when talking to container registries. (defaults to true)
@@option tls-verify

## EXAMPLES

Expand Down
4 changes: 1 addition & 3 deletions docs/source/markdown/podman-manifest-push.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ Sign the pushed images with a sigstore signature using a private key at the spec

If signing the image (using either **--sign-by** or **--sign-by-sigstore-private-key**), read the passphrase to use from the specified path.

#### **--tls-verify**

Require HTTPS and verify certificates when talking to container registries. (defaults to true)
@@option tls-verify

## DESTINATION

Expand Down
6 changes: 1 addition & 5 deletions docs/source/markdown/podman-pull.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ Print the usage statement.

Suppress output information when pulling images

#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true,
then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified,
TLS verification will be used unless the target registry is listed as an insecure registry in registries.conf.
@@option tls-verify

#### **--variant**=*VARIANT*

Expand Down
6 changes: 1 addition & 5 deletions docs/source/markdown/podman-push.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,7 @@ Add a sigstore signature at the destination using a private key at the specified

If signing the image (using either **--sign-by** or **--sign-by-sigstore-private-key**), read the passphrase to use from the specified path.

#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true,
then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified,
TLS verification will be used unless the target registry is listed as an insecure registry in registries.conf.
@@option tls-verify

## EXAMPLE

Expand Down
4 changes: 1 addition & 3 deletions docs/source/markdown/podman-run.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,7 @@ Sets whether the signals sent to the **podman run** command are proxied to the c

@@option timeout

#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true, then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified, TLS verification will be used unless the target registry is listed as an insecure registry in registries.conf.
@@option tls-verify

@@option tmpfs

Expand Down
7 changes: 1 addition & 6 deletions docs/source/markdown/podman-search.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,7 @@ The result contains the Image name and its tag, one line for every tag associate

Do not truncate the output (default *false*).

#### **--tls-verify**

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true,
then TLS verification will be used. If set to false, then TLS verification will not be used if needed. If not specified,
default registries will be searched through (in /etc/containers/registries.conf), and TLS will be skipped if a default
registry is listed in the insecure registries.
@@option tls-verify

## EXAMPLES

Expand Down

0 comments on commit c643887

Please sign in to comment.