From 675d775eb54f1614a542dfcbbc5a4aa857cc0db0 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 21 Feb 2022 17:12:22 -0500 Subject: Add --context-dir option to podman play kube This option was requested so that users could specify alternate locations to find context directories for each image build. It requites the --build option to be set. Partion Fix: https://github.com/containers/podman/issues/12485 Signed-off-by: Daniel J Walsh --- pkg/domain/entities/play.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/domain/entities') diff --git a/pkg/domain/entities/play.go b/pkg/domain/entities/play.go index 43fa3a712..7614a4012 100644 --- a/pkg/domain/entities/play.go +++ b/pkg/domain/entities/play.go @@ -14,6 +14,8 @@ type PlayKubeOptions struct { Build types.OptionalBool // CertDir - to a directory containing TLS certifications and keys. CertDir string + // ContextDir - directory containing image contexts used for Build + ContextDir string // Down indicates whether to bring contents of a yaml file "down" // as in stop Down bool -- cgit v1.2.3-54-g00ecf