From 438fef1caa26a1f09cd7be341e854d4bd5726c2b Mon Sep 17 00:00:00 2001 From: cdoern Date: Tue, 7 Jun 2022 16:37:59 -0400 Subject: kube secret handling for podman play kube add support for both creating a secret using yaml and mounting a secret as a volume given a yaml file. Kubernetes secrets have a different structure than podman and therefore have to be handeled differently. In this PR, I have introduced the basic usecases of kube secrets with more implementations like env secrets to come! resolves #12396 Signed-off-by: Charlie Doern --- pkg/domain/entities/play.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/domain/entities') diff --git a/pkg/domain/entities/play.go b/pkg/domain/entities/play.go index 35a5d8a4a..5bb438d7d 100644 --- a/pkg/domain/entities/play.go +++ b/pkg/domain/entities/play.go @@ -88,6 +88,7 @@ type PlayKubeReport struct { // Volumes - volumes created by play kube. Volumes []PlayKubeVolume PlayKubeTeardown + Secrets []PlaySecret } type KubePlayReport = PlayKubeReport @@ -100,3 +101,7 @@ type PlayKubeTeardown struct { StopReport []*PodStopReport RmReport []*PodRmReport } + +type PlaySecret struct { + CreateReport *SecretCreateReport +} -- cgit v1.2.3-54-g00ecf