From d114e2f9d5f38d8c96df8ab376e63a2d55ed9407 Mon Sep 17 00:00:00 2001
From: attardi <giuseppe.attardi@garr.it>
Date: Sat, 30 Jun 2018 20:03:12 +0200
Subject: [PATCH] Webhook mode.

---
 bundle.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bundle.yaml b/bundle.yaml
index 6a62fc2..8245e12 100644
--- a/bundle.yaml
+++ b/bundle.yaml
@@ -90,11 +90,11 @@ services:
     constraints: tags=kubernetes-public-ip cores=2 mem=4G #root-disk=16G
     options:
       channel: 1.10/stable
-      authorization-mode: "Node,RBAC" #,Webhook
+      authorization-mode: "Node,RBAC,Webhook"
       # RBAC to allow access to dashboard to User "system:anonymous"
       # Because of this bug https://github.com/kubernetes/kubernetes/issues/39722
       # the value must be false, rather than what the documentation says.
-      api-extra-args: "anonymous-auth=false" #authentication-token-webhook-config-file=/root/cdk/webhook.kubeconfig"
+      api-extra-args: "anonymous-auth=false authorization-webhook-config-file=/root/cdk/webhook.kubeconfig"
       enable-dashboard-addons: True
     annotations:
       gui-x: '800'
-- 
GitLab