summaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-31 09:36:04 -0400
committerGitHub <noreply@github.com>2022-08-31 09:36:04 -0400
commit8266dbe7a90f6f03995b42315b3ac2da54cd018f (patch)
treede047861dc6efaaf66ce626ccd57501b0eccbb08 /pkg/domain/infra
parent60e4b762b3c6eef38e3f2d635011bbeafa157ba1 (diff)
parent98169c20ddc09d8fa14d556e93cad3259b5ccca9 (diff)
downloadpodman-8266dbe7a90f6f03995b42315b3ac2da54cd018f.tar.gz
podman-8266dbe7a90f6f03995b42315b3ac2da54cd018f.tar.bz2
podman-8266dbe7a90f6f03995b42315b3ac2da54cd018f.zip
Merge pull request #15473 from umohnani8/empty-dir
Add emptyDir volume support to kube play
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r--pkg/domain/infra/abi/play.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go
index faa89cc26..6ea20a4f2 100644
--- a/pkg/domain/infra/abi/play.go
+++ b/pkg/domain/infra/abi/play.go
@@ -436,7 +436,7 @@ func (ic *ContainerEngine) playKubePod(ctx context.Context, podName string, podY
}
// Go through the volumes and create a podman volume for all volumes that have been
- // defined by a configmap
+ // defined by a configmap or secret
for _, v := range volumes {
if (v.Type == kube.KubeVolumeTypeConfigMap || v.Type == kube.KubeVolumeTypeSecret) && !v.Optional {
vol, err := ic.Libpod.NewVolume(ctx, libpod.WithVolumeName(v.Source))