kube: honor --build=false and make --build=true by default

`podman play kube` tries to build images even if `--build` is set to
false so lets honor that and make `--build` , `true` by default so it
matches the original behviour.

Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
Aditya R
2022-02-18 16:54:18 +05:30
committed by Matthew Heon
parent e356dfe06b
commit 82f4760dea
5 changed files with 57 additions and 5 deletions

View File

@ -67,7 +67,8 @@ like:
```
The build will consider `foobar` to be the context directory for the build. If there is an image in local storage
called `foobar`, the image will not be built unless the `--build` flag is used.
called `foobar`, the image will not be built unless the `--build` flag is used. Use `--build=false` to completely
disable builds.
`Kubernetes ConfigMap`
@ -115,7 +116,7 @@ environment variable. `export REGISTRY_AUTH_FILE=path`
#### **--build**
Build images even if they are found in the local storage.
Build images even if they are found in the local storage. Use `--build=false` to completely disable builds.
#### **--cert-dir**=*path*