From 88a69b7194f2375edde42bbb50314f48541f11ca Mon Sep 17 00:00:00 2001 From: "Pedro H. Spagiari" Date: Mon, 26 Aug 2019 20:32:29 -0300 Subject: [PATCH] fix(upup/models/cloudup/resources/addons/coredns.addons.k8s.io) missing resourceVersion Co-authored-by: Thiago Freitas --- .../addons/coredns.addons.k8s.io/k8s-1.12.yaml.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template b/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template index 714b180c608a1..0b6f57f62ea00 100644 --- a/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template +++ b/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template @@ -228,6 +228,9 @@ metadata: k8s-app: kube-dns kubernetes.io/cluster-service: "true" kubernetes.io/name: "CoreDNS" + # Without this resourceVersion value, an update of the Service between versions will yield: + # Service "kube-dns" is invalid: metadata.resourceVersion: Invalid value: "": must be specified for an update + resourceVersion: "0" spec: selector: k8s-app: kube-dns