fixes invalid null selector issue

Before this change this example would result in: 

$ kubectl create -f sysdig.yml
The DaemonSet "sysdig-agent" is invalid.
spec.template.metadata.labels: Invalid value: null: `selector` does not match template `labels`
This commit is contained in:
Matt Baldwin 2016-08-24 16:52:36 -07:00 committed by GitHub
parent 1952986a34
commit 941e8729b8

View File

@ -8,6 +8,9 @@ metadata:
app: sysdig-agent
spec:
template:
metadata:
labels:
name: sysdig-agent
spec:
volumes:
- name: docker-sock