Merge pull request #16125 from containers/dependabot/go_modules/github.com/spf13/cobra-1.6.0

build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0
This commit is contained in:
Daniel J Walsh
2022-10-12 16:13:56 -04:00
committed by GitHub
33 changed files with 696 additions and 111 deletions

View File

@ -292,6 +292,18 @@ transports.
Print usage statement
#### **--hooks-dir**=*path*
Each *.json file in the path configures a hook for buildah build containers. For more details on the syntax of the JSON files and the semantics of hook injection. Buildah currently support both the 1.0.0 and 0.1.0 hook schemas, although the 0.1.0 schema is deprecated.
This option may be set multiple times; paths from later options have higher precedence.
For the annotation conditions, buildah uses any annotations set in the generated OCI configuration.
For the bind-mount conditions, only mounts explicitly requested by the caller via --volume are considered. Bind mounts that buildah inserts by default (e.g. /dev/shm) are not considered.
If --hooks-dir is unset for root callers, Buildah will currently default to /usr/share/containers/oci/hooks.d and /etc/containers/oci/hooks.d in order of increasing precedence. Using these defaults is deprecated, and callers should migrate to explicitly setting --hooks-dir.
#### **--http-proxy**
Pass through HTTP Proxy environment variables.
@ -532,6 +544,12 @@ commands specified by the **RUN** instruction.
Note: You can also override the default runtime by setting the BUILDAH\_RUNTIME
environment variable. `export BUILDAH_RUNTIME=/usr/local/bin/runc`
#### **--runtime-flag**=*flag*
Adds global flags for the container rutime. To list the supported flags, please consult the manpages of the selected container runtime.
Note: Do not pass the leading -- to the flag. To pass the runc flag --log-format json to buildah build, the option given would be --runtime-flag log-format=json.
#### **--secret**=**id=id,src=path**
Pass secret information to be used in the Containerfile for building images

View File

@ -97,6 +97,10 @@ Print usage statement
Show the latest pod created (all states) (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
#### **--namespace**, **--ns**
Display namespace information of the pod
#### **--no-trunc**
Do not truncate the output (default *false*).
@ -105,10 +109,6 @@ Do not truncate the output (default *false*).
Omit the table headings from the listing of pods.
#### **--ns**
Display namespace information of the pod
#### **--quiet**, **-q**
Print the numeric IDs of the pods only