Weave: add extra_args for weave-npc (#8140)

* add weave_npc_extra_args in template

* add defaults weave_npc_extra_args

* add sample for weave_npc_extra_args
This commit is contained in:
brainfair
2021-10-28 18:58:27 +03:00
committed by GitHub
parent 539c9e0d99
commit 465ffa3c9f
3 changed files with 10 additions and 0 deletions

View File

@@ -230,6 +230,10 @@ items:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
{% if weave_npc_extra_args %}
- name: EXTRA_ARGS
value: "{{ weave_npc_extra_args }}"
{% endif %}
image: {{ weave_npc_image_repo }}:{{ weave_npc_image_tag }}
imagePullPolicy: {{ k8s_image_pull_policy }}
resources: