Fix escaping problem in kube-scheduler manifest

'{{pillar[log_level]}}' was appearing literally in the command line,
instead of being substituted.

Fixes #12787
This commit is contained in:
Justin Santa Barbara 2015-08-17 08:16:24 -04:00
parent e9dd3c5543
commit 0ff8dd45ef

View File

@ -1,4 +1,8 @@
{% set params = "{{pillar['log_level']}}" -%}
{% set params = "" -%}
{% if pillar['log_level'] is defined -%}
{% set params = params + " " + pillar['log_level'] -%}
{% endif -%}
# test_args has to be kept at the end, so they'll overwrite any prior configuration
{% if pillar['scheduler_test_args'] is defined -%}