mirror of https://github.com/linkerd/linkerd2.git
Removed hostNetwork: true from linkerd-cni Helm chart templates (#11158)
Problem - Current does Linkerd CNI Helm chart templates have hostNetwork: true set which is unnecessary and less secure. Solution - Removed hostNetwork: true from linkerd-cni Helm chart templates PR Fixes #11141 --------- Signed-off-by: Abhijeet Gaurav <abhijeetdav24aug@gmail.com> Co-authored-by: Alejandro Pedraza <alejandro@buoyant.io>
This commit is contained in:
parent
928f2bedd8
commit
bca15f59ed
|
|
@ -57,7 +57,6 @@ spec:
|
|||
{{- end }}
|
||||
fsGroup:
|
||||
rule: RunAsAny
|
||||
hostNetwork: true
|
||||
runAsUser:
|
||||
rule: RunAsAny
|
||||
seLinux:
|
||||
|
|
@ -211,7 +210,6 @@ spec:
|
|||
affinity:
|
||||
{{- include "linkerd.node-affinity" . | nindent 8 }}
|
||||
{{- end }}
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ spec:
|
|||
- operator: Exists
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ spec:
|
|||
- operator: Exists
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ spec:
|
|||
- operator: Exists
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ spec:
|
|||
- operator: Exists
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@ spec:
|
|||
- operator: Exists
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ spec:
|
|||
- operator: Exists
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ spec:
|
|||
- operator: Exists
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
|
|
|||
|
|
@ -2418,7 +2418,6 @@ spec:
|
|||
spec:
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
hostNetwork: true
|
||||
serviceAccountName: linkerd-cni
|
||||
containers:
|
||||
- name: install-cni
|
||||
|
|
|
|||
Loading…
Reference in New Issue