From d4d3c074be27fe67c71a286d442b844bf6ce4aac Mon Sep 17 00:00:00 2001 From: Samuel Liu Date: Mon, 5 Apr 2021 20:22:14 +0800 Subject: [PATCH] remove local lb privileged (#7437) --- roles/kubernetes/node/templates/manifests/haproxy.manifest.j2 | 2 -- .../kubernetes/node/templates/manifests/nginx-proxy.manifest.j2 | 2 -- 2 files changed, 4 deletions(-) diff --git a/roles/kubernetes/node/templates/manifests/haproxy.manifest.j2 b/roles/kubernetes/node/templates/manifests/haproxy.manifest.j2 index a557d6e6058..1efcbaede39 100644 --- a/roles/kubernetes/node/templates/manifests/haproxy.manifest.j2 +++ b/roles/kubernetes/node/templates/manifests/haproxy.manifest.j2 @@ -22,8 +22,6 @@ spec: requests: cpu: {{ loadbalancer_apiserver_cpu_requests }} memory: {{ loadbalancer_apiserver_memory_requests }} - securityContext: - privileged: true {% if loadbalancer_apiserver_healthcheck_port is defined -%} livenessProbe: httpGet: diff --git a/roles/kubernetes/node/templates/manifests/nginx-proxy.manifest.j2 b/roles/kubernetes/node/templates/manifests/nginx-proxy.manifest.j2 index b05977d93ad..04b9b734e1b 100644 --- a/roles/kubernetes/node/templates/manifests/nginx-proxy.manifest.j2 +++ b/roles/kubernetes/node/templates/manifests/nginx-proxy.manifest.j2 @@ -22,8 +22,6 @@ spec: requests: cpu: {{ loadbalancer_apiserver_cpu_requests }} memory: {{ loadbalancer_apiserver_memory_requests }} - securityContext: - privileged: true {% if loadbalancer_apiserver_healthcheck_port is defined -%} livenessProbe: httpGet: