1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-13 13:40:22 +00:00

Moving extra_args iteration to allow extra_args to work successfully

This commit is contained in:
Chris Kim
2018-10-15 17:42:09 -07:00
committed by Alena Prokharchyk
parent 22dc19205f
commit 266f6b8123

View File

@@ -203,6 +203,9 @@ spec:
- --tcp-services-configmap=$(POD_NAMESPACE)/tcp-services
- --udp-services-configmap=$(POD_NAMESPACE)/udp-services
- --annotations-prefix=nginx.ingress.kubernetes.io
{{ range $k, $v := .ExtraArgs }}
- --{{ $k }}{{if ne $v "" }}={{ $v }}{{end}}
{{ end }}
securityContext:
capabilities:
drop:
@@ -210,9 +213,6 @@ spec:
add:
- NET_BIND_SERVICE
runAsUser: 33
{{ range $k, $v := .ExtraArgs }}
- --{{ $k }}{{if ne $v "" }}={{ $v }}{{end}}
{{ end }}
env:
- name: POD_NAME
valueFrom: