diff options
author | Chen Zhiwei <zhiweik@gmail.com> | 2021-09-21 05:30:10 -0400 |
---|---|---|
committer | Chen Zhiwei <zhiweik@gmail.com> | 2021-10-08 10:14:35 +0800 |
commit | 6fc73ea4ea4fa8b82092fc605390d3cfece97dd1 (patch) | |
tree | a3705e99f19f204f87bbb927d25e7c5988af3cec /pkg/domain/entities | |
parent | 14c0fcc6b7b3e8c1f28efea329ab9a6bf0d99b70 (diff) | |
download | podman-6fc73ea4ea4fa8b82092fc605390d3cfece97dd1.tar.gz podman-6fc73ea4ea4fa8b82092fc605390d3cfece97dd1.tar.bz2 podman-6fc73ea4ea4fa8b82092fc605390d3cfece97dd1.zip |
[CI:DOCS] introduce --replace flag for play kube
With this flag, users can easily sync up the yaml content with the existing pods.
Fixes #11481
Signed-off-by: Chen Zhiwei <zhiweik@gmail.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/play.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/entities/play.go b/pkg/domain/entities/play.go index af4b0fc35..715d8acaf 100644 --- a/pkg/domain/entities/play.go +++ b/pkg/domain/entities/play.go @@ -17,6 +17,8 @@ type PlayKubeOptions struct { // Down indicates whether to bring contents of a yaml file "down" // as in stop Down bool + // Replace indicates whether to delete and recreate a yaml file + Replace bool // Do not create /etc/hosts within the pod's containers, // instead use the version from the image NoHosts bool |