From 05bf6fdac3ecc82a9f4b8cc97915f980d7e32740 Mon Sep 17 00:00:00 2001 From: Chris Short Date: Tue, 16 Jan 2018 18:04:14 -0500 Subject: [PATCH 1/2] Archived pik8s; Change path to dashboard-admin.yml Signed-off-by: Chris Short --- roles/dashboard/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/dashboard/tasks/main.yml b/roles/dashboard/tasks/main.yml index bf5c674..a9c8ec9 100644 --- a/roles/dashboard/tasks/main.yml +++ b/roles/dashboard/tasks/main.yml @@ -4,7 +4,7 @@ shell: kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard-arm.yaml - name: Configure Dashboard Access - shell: kubectl apply -f https://raw.githubusercontent.com/chris-short/pik8s/master/roles/dashboard/files/dashboard-admin.yaml + shell: kubectl apply -f https://raw.githubusercontent.com/rak8s/rak8s/master/roles/dashboard/files/dashboard-admin.yaml - name: Fetch kubeconfig file fetch: From 3a581607c71edb7c26aa062aebdb49b84c64d31f Mon Sep 17 00:00:00 2001 From: Chris Short Date: Mon, 22 Jan 2018 10:17:58 -0500 Subject: [PATCH 2/2] Rebuilding Dashboard Pods is Recommended in Docs Signed-off-by: Chris Short --- roles/dashboard/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/dashboard/tasks/main.yml b/roles/dashboard/tasks/main.yml index a9c8ec9..abbfc84 100644 --- a/roles/dashboard/tasks/main.yml +++ b/roles/dashboard/tasks/main.yml @@ -6,6 +6,9 @@ - name: Configure Dashboard Access shell: kubectl apply -f https://raw.githubusercontent.com/rak8s/rak8s/master/roles/dashboard/files/dashboard-admin.yaml +- name: Force Rebuild Dashboard Pods + shell: kubectl -n kube-system delete $(kubectl -n kube-system get pod -o name | grep dashboard) + - name: Fetch kubeconfig file fetch: src: /root/.kube/config