From 92b1166dd0256a0e49c5e3198ff00ce27352ccb0 Mon Sep 17 00:00:00 2001
From: Hans Feldt <2808287+hafe@users.noreply.github.com>
Date: Sun, 11 Oct 2020 17:06:47 +0200
Subject: [PATCH] Disable dashboard by default (#6804)

Users should opt in for features and not opt out.
---
 roles/kubernetes-apps/ansible/defaults/main.yml | 3 +--
 roles/kubespray-defaults/defaults/main.yaml     | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/roles/kubernetes-apps/ansible/defaults/main.yml b/roles/kubernetes-apps/ansible/defaults/main.yml
index 00e09dd7c..4dd08b7bf 100644
--- a/roles/kubernetes-apps/ansible/defaults/main.yml
+++ b/roles/kubernetes-apps/ansible/defaults/main.yml
@@ -43,10 +43,9 @@ netchecker_agent_group: 1000
 netchecker_server_group: 1000
 
 # Dashboard
-dashboard_enabled: true
 dashboard_replicas: 1
 
-# Namespace for dashboad
+# Namespace for dashboard
 dashboard_namespace: kube-system
 
 # Limits for dashboard
diff --git a/roles/kubespray-defaults/defaults/main.yaml b/roles/kubespray-defaults/defaults/main.yaml
index 5587561c0..15171cca9 100644
--- a/roles/kubespray-defaults/defaults/main.yaml
+++ b/roles/kubespray-defaults/defaults/main.yaml
@@ -314,7 +314,7 @@ k8s_image_pull_policy: IfNotPresent
 
 # Kubernetes dashboard
 # RBAC required. see docs/getting-started.md for access details.
-dashboard_enabled: true
+dashboard_enabled: false
 
 # Addons which can be enabled
 helm_enabled: false
-- 
GitLab