Files
podman/pkg
Jordan Christiansen 55dfa7fad2 Add labels to a pod created via play kube
When using `podman play kube` with a YAML file that has pod labels,
apply those labels to the pods that podman makes.

For example, this Deployment spec has labels on a pod:

	apiVersion: apps/v1
	kind: Deployment
	metadata:
	  name: myapp
	  labels:
	    app: myapp
	spec:
	  selector:
	    matchLabels:
	      app: myapp
	  template:
	    metadata:
	      labels:
		app: myapp
	    spec:
	      containers:
	      - name: web
		image: nginx
		ports:
		- containerPort: 80

The pods that podman creates will have the label "app" set to "myapp" so
that these pods can be found with `podman pods ps --filter label=app`.

Signed-off-by: Jordan Christiansen <xordspar0@gmail.com>
2020-09-16 15:46:08 -05:00
..
2020-09-11 06:14:25 -04:00
2019-07-23 15:43:40 -04:00
2018-03-27 21:55:33 +00:00
2020-06-15 07:05:56 -04:00
2020-09-11 06:14:25 -04:00
2020-06-15 07:05:56 -04:00
2020-09-11 06:14:25 -04:00
2020-06-29 09:17:55 -05:00
2020-01-13 14:27:02 +01:00
2020-01-14 09:54:48 +01:00
2020-08-04 15:10:47 -04:00
2020-09-12 07:02:04 -04:00
2020-09-11 06:14:25 -04:00