From 2d0f63f1dbe65903fce7a11f2720a726623ad61f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 19 May 2017 11:21:02 +0100 Subject: [PATCH] fixing some issues with the DaemonSet --- setup/hostpath-provisioner-template.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup/hostpath-provisioner-template.yaml b/setup/hostpath-provisioner-template.yaml index 4dd42c6..301250f 100644 --- a/setup/hostpath-provisioner-template.yaml +++ b/setup/hostpath-provisioner-template.yaml @@ -97,13 +97,19 @@ objects: - persistentVolumeClaim - secret -- apiVersion: 1 +- apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name: hostpath-provisioner namespace: ${TARGET_NAMESPACE} spec: + selector: + matchLabels: + name: hostpath-provisioner template: + metadata: + labels: + name: hostpath-provisioner spec: containers: name: hostpath-provisioner