mirror of
https://github.com/rancher/rke.git
synced 2025-04-28 03:31:24 +00:00
Moving extra_args iteration to allow extra_args to work successfully
This commit is contained in:
parent
22dc19205f
commit
266f6b8123
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user