From 4661e7db011a59af1f69d5fdc1435459d86e386a Mon Sep 17 00:00:00 2001 From: bleech1 <15leechb@gmail.com> Date: Wed, 7 Apr 2021 04:35:53 -0400 Subject: [PATCH] remove local lb privileged (#7437) (#7454) Co-authored-by: Samuel Liu --- 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 a557d6e60..1efcbaede 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 b05977d93..04b9b734e 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: