From 7cb66bbba1bdc155342159a8233097ca52fb0d44 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 3 Dec 2020 13:34:26 +0200 Subject: [PATCH] Fix auto-generation of nfd-prune.yaml Change the template so that our sed magic updates the container image name correctly. --- nfd-prune.yaml.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfd-prune.yaml.template b/nfd-prune.yaml.template index 191433cd6..57179d214 100644 --- a/nfd-prune.yaml.template +++ b/nfd-prune.yaml.template @@ -28,8 +28,8 @@ spec: value: "" effect: "NoSchedule" containers: - - image: gcr.io/k8s-staging-nfd/node-feature-discovery:master - name: nfd-master + - name: nfd-master + image: gcr.io/k8s-staging-nfd/node-feature-discovery:master securityContext: allowPrivilegeEscalation: false capabilities: