From 6fc73ea4ea4fa8b82092fc605390d3cfece97dd1 Mon Sep 17 00:00:00 2001 From: Chen Zhiwei Date: Tue, 21 Sep 2021 05:30:10 -0400 Subject: [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 --- pkg/domain/entities/play.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/domain') 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 -- cgit v1.2.3-54-g00ecf