[bitnami/nginx-ingress-controller] Require NET_BIND_SERVICE only when using hostNetwork

This commit is contained in:
Javier J. Salmeron Garcia
2019-02-01 16:51:47 +01:00
parent caf9b65aa6
commit ba914e3f67
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: nginx-ingress-controller
version: 3.1.3
version: 3.2.0
appVersion: 0.22.0
description: Chart for the nginx Ingress controller
keywords:
@@ -79,10 +79,12 @@ spec:
- --{{ $key }}
{{- end }}
{{- end }}
{{- if .Values.hostNetwork }}
securityContext:
capabilities:
drop: ["ALL"]
add: ["NET_BIND_SERVICE"]
{{- end }}
env:
- name: POD_NAME
valueFrom: