podman/docs/source
Jordan Christiansen a7fc8a1460 Improve the error message for usused configMaps
If you run `podman play kube` on a yaml file that only contains
configMaps, podman will fail with the error:

	Error: YAML document does not contain any supported kube kind

This is not strictly true; configMaps are a supported kube kind. The
problem is that configMaps aren't a standalone entity. They have to be
used in a container somewhere, otherwise they don't do anything.

This change adds a new message in the case when there only configMaps
resources. It would be helpful if podman reported which configMaps are
unused on every invocation of kube play. However, even if that feedback
were added, this new error messages still helpfully explains the reason
that podman is not creating any resources.

[NO NEW TESTS NEEDED]

Signed-off-by: Jordan Christiansen <xordspar0@gmail.com>
2022-02-24 08:59:11 -06:00
..
_static Show API doc for several versions 2022-02-09 18:17:52 +01:00
markdown Improve the error message for usused configMaps 2022-02-24 08:59:11 -06:00
Commands.rst Fix up build the docs site 2021-09-16 17:41:00 -04:00
Introduction.rst
Reference.rst Show API doc for several versions 2022-02-09 18:17:52 +01:00
Search.rst
Tutorials.rst [CI:DOCS] fix default branch links 2022-01-15 20:56:19 +01:00
conf.py Use a new markdown converter for sphinx 2021-09-16 21:10:13 +02:00
includes.rst
index.rst
volume.rst volumes: Add volume import to allow importing contents on tar into volume 2021-08-26 14:14:14 +05:30