mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-24 05:11:09 +00:00
10 lines
313 B
Plaintext
10 lines
313 B
Plaintext
{% set daemon_args = "$DAEMON_ARGS" %}
|
|
{% if grains['os_family'] == 'RedHat' %}
|
|
{% set daemon_args = "" %}
|
|
{% endif %}
|
|
{% set master="-master=127.0.0.1:8080" %}
|
|
{% if grains.master_ip is defined %}
|
|
{% set master="-master=" + grains.master_ip + ":8080" %}
|
|
{% endif %}
|
|
DAEMON_ARGS="{{daemon_args}} {{master}}"
|