From 12d55d3e35a3578df166afeca65938930b0aa929 Mon Sep 17 00:00:00 2001 From: Giuseppe Attardi <giuseppe.attardi@garr.it> Date: Sat, 30 Jun 2018 20:03:37 +0200 Subject: [PATCH] Webhook authorization mode. --- reactive/kubernetes_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactive/kubernetes_master.py b/reactive/kubernetes_master.py index e84ea3c..af005d0 100644 --- a/reactive/kubernetes_master.py +++ b/reactive/kubernetes_master.py @@ -1319,7 +1319,7 @@ def configure_apiserver(etcd_connection_string): # Webhook config auth_mode = hookenv.config('authorization-mode') if 'Webhook' in re.split('[,\s]+', auth_mode): - api_opts['authentication-token-webhook-config-file'] = webhook_config_path + api_opts['authorization-webhook-config-file'] = webhook_config_path configure_kubernetes_service('kube-apiserver', api_opts, 'api-extra-args') restart_apiserver() -- GitLab