From 520103df786932947e1073de749540152b312c13 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Thu, 2 Nov 2017 10:16:08 +0000 Subject: [PATCH] Change namespace for provisioner account --- .../templates/provisioner-admin-account.yml.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/kubernetes-apps/local_volume_provisioner/templates/provisioner-admin-account.yml.j2 b/roles/kubernetes-apps/local_volume_provisioner/templates/provisioner-admin-account.yml.j2 index 5c5c2eb51..ecdf83079 100644 --- a/roles/kubernetes-apps/local_volume_provisioner/templates/provisioner-admin-account.yml.j2 +++ b/roles/kubernetes-apps/local_volume_provisioner/templates/provisioner-admin-account.yml.j2 @@ -8,11 +8,11 @@ apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: name: local-storage-provisioner-pv-binding - namespace: default + namespace: {{ system_namespace }} subjects: - kind: ServiceAccount name: local-storage-admin - namespace: default + namespace: {{ system_namespace }} roleRef: kind: ClusterRole name: system:persistent-volume-provisioner @@ -22,11 +22,11 @@ apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: name: local-storage-provisioner-node-binding - namespace: default + namespace: {{ system_namespace }} subjects: - kind: ServiceAccount name: local-storage-admin - namespace: default + namespace: {{ system_namespace }} roleRef: kind: ClusterRole name: system:node