diff --git a/roles/kubernetes-apps/ansible/templates/kubedns-serviceaccount.yml b/roles/kubernetes-apps/ansible/templates/kubedns-sa.yml similarity index 65% rename from roles/kubernetes-apps/ansible/templates/kubedns-serviceaccount.yml rename to roles/kubernetes-apps/ansible/templates/kubedns-sa.yml index 8cf41ae23..e520ccbfc 100644 --- a/roles/kubernetes-apps/ansible/templates/kubedns-serviceaccount.yml +++ b/roles/kubernetes-apps/ansible/templates/kubedns-sa.yml @@ -3,3 +3,5 @@ kind: ServiceAccount metadata: name: kube-dns namespace: {{ system_namespace }} + labels: + kubernetes.io/cluster-service: "true"