Use salt pillars to pass test arguments during cluster creation.

This commit is contained in:
gmarek
2015-05-26 10:43:48 +02:00
parent b0d31fb794
commit 5bb7eec5ab
8 changed files with 99 additions and 1 deletions

View File

@@ -25,4 +25,13 @@
{% endif -%}
{% endif -%}
{% set test_args = "" -%}
{% if pillar['kubeproxy_test_args'] is defined -%}
{% set test_args=pillar['kubeproxy_test_args'] %}
{% endif -%}
DAEMON_ARGS="{{daemon_args}} {{api_servers_with_port}} {{kubeconfig}} {{pillar['log_level']}}"
# test_args has to be kept at the end, so they'll overwrite any prior configuration
DAEMON_ARGS="$DAEMON_ARGS + {{test_args}}"