spiegel_podman/pkg/specgen/generate
Jordan Christiansen dce877c5ca Add problematic volume name to kube play error messages
When kube play fails to create a volume, it should say which volume had
the problem so the user doesn't have to guess. For the following pod
spec:

	apiVersion: v1
	kind: Pod
	metadata:
	  name: mypod
	spec:
	  containers:
	    - name: myfrontend
	      image: nginx
	      volumeMounts:
	      - mountPath: "/var/www/html"
		name: mypd
	  volumes:
	    - name: mypd
	      hostPath:
		path: /var/blah

podman will now report:

	Error: failed to create volume "mypd": error in parsing HostPath
	in YAML: error checking path "/var/blah": stat /var/blah: no such
	file or directory

Signed-off-by: Jordan Christiansen <xordspar0@gmail.com>
2021-03-27 09:46:30 -05:00
..
kube Add problematic volume name to kube play error messages 2021-03-27 09:46:30 -05:00
config_linux.go replace local mount consts with libpod/define 2021-03-07 12:03:34 +01:00
config_linux_cgo.go bump go module to v3 2021-02-22 09:03:51 +01:00
config_linux_nocgo.go bump go module to v3 2021-02-22 09:03:51 +01:00
container.go bump go module to v3 2021-02-22 09:03:51 +01:00
container_create.go Add U volume flag to chown source volumes 2021-02-22 22:55:19 -06:00
namespaces.go bump go module to v3 2021-02-22 09:03:51 +01:00
oci.go replace local mount consts with libpod/define 2021-03-07 12:03:34 +01:00
pod_create.go bump go module to v3 2021-02-22 09:03:51 +01:00
ports.go Improvements for machine 2021-03-25 11:02:33 -05:00
security.go security: use the bounding caps with --privileged 2021-03-19 15:17:11 +01:00
storage.go replace local mount consts with libpod/define 2021-03-07 12:03:34 +01:00
validate.go bump go module to v3 2021-02-22 09:03:51 +01:00