Skip to content

Commit

Permalink
Update readme insecure flags (GoogleContainerTools#1811)
Browse files Browse the repository at this point in the history
* Clarify usage of --skip-tls-verify-registry argument

Referring to --skip-tls-verify-registry as a "flag" is misleading since
command line flags usually require no value. Thus, the documentation
is updated to match the behavior of the command line argument.

* Clarify usage of --insecure-registry argument

Referring to --insecure-registry as a "flag" is misleading since
command line flags usually require no value. Thus, the documentation
is updated to match the behavior of the command line argument.
  • Loading branch information
Bernardo Marques authored and gcalmettes-fbox committed Dec 24, 2021
1 parent 1693327 commit f4da67c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ Set this flag if you want to pull images from a plain HTTP registry. It is suppo

#### --insecure-registry

Set this flag to use plain HTTP requests when accessing a registry. It is supposed to be used for testing purposes only and should not be used in production!
You can set `--insecure-registry <registry-name>` to use plain HTTP requests when accessing the specified registry. It is supposed to be used for testing purposes only and should not be used in production!
You can set it multiple times for multiple registries.

#### --label
Expand Down Expand Up @@ -827,8 +827,7 @@ Set this flag to skip TLS certificate validation when pulling from a registry. I

#### --skip-tls-verify-registry

Set this flag to skip TLS certificate validation when accessing a registry. It is supposed to be used for testing purposes only and should not be used in production!
You can set it multiple times for multiple registries.
You can set `--skip-tls-verify-registry <registry-name>` to skip TLS certificate validation when accessing the specified registry. It is supposed to be used for testing purposes only and should not be used in production! You can set it multiple times for multiple registries.

#### --skip-unused-stages

Expand Down

0 comments on commit f4da67c

Please sign in to comment.