mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
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:
parent
e9dd3c5543
commit
0ff8dd45ef
@ -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 -%}
|
||||
|
Loading…
Reference in New Issue
Block a user