mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Salt: clean daemon_args on RedHat, not systemd
I don't think it actually makes a difference based on how we're using it, but this is now more of a precise change.
This commit is contained in:
parent
aff1ffc319
commit
efce770fbb
@ -1,5 +1,5 @@
|
||||
{% set daemon_args = "$DAEMON_ARGS" -%}
|
||||
{% if pillar.get('is_systemd') -%}
|
||||
{% if grains['os_family'] == 'RedHat' -%}
|
||||
{% set daemon_args = "" -%}
|
||||
{% endif -%}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% set daemon_args = "$DAEMON_ARGS" -%}
|
||||
{% if pillar.get('is_systemd') -%}
|
||||
{% if grains['os_family'] == 'RedHat' -%}
|
||||
{% set daemon_args = "" -%}
|
||||
{% endif -%}
|
||||
{# TODO(azure-maintainer): add support for distributing kubeconfig with token to kube-proxy #}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% set daemon_args = "$DAEMON_ARGS" -%}
|
||||
{% if pillar.get('is_systemd') -%}
|
||||
{% if grains['os_family'] == 'RedHat' -%}
|
||||
{% set daemon_args = "" -%}
|
||||
{% endif -%}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user