fix(upup/models/cloudup/resources/addons/coredns.addons.k8s.io) missing resourceVersion

Co-authored-by: Thiago Freitas <deadcow@archlinux.com.br>
This commit is contained in:
Pedro H. Spagiari 2019-08-26 20:32:29 -03:00 committed by Ryan Bonham
parent d5078612f6
commit 91c42f9459
No known key found for this signature in database
GPG Key ID: 1D994B997B9F459B
1 changed files with 3 additions and 0 deletions

View File

@ -186,6 +186,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