Fix kubernetes firewalld service template
This commit is contained in:
parent
aa6a8bdc88
commit
3121caaad1
1 changed files with 5 additions and 3 deletions
|
|
@ -10,10 +10,12 @@
|
|||
<port protocol="tcp" port="10251"/>
|
||||
<port protocol="tcp" port="10252"/>
|
||||
<port protocol="tcp" port="10255"/>
|
||||
{% else %}
|
||||
{% if kubernetes_master == true %}
|
||||
<port protocol="tcp" port="10250"/>
|
||||
{% if kubernetes_master_taint == true %}
|
||||
<port protocol="tcp" port="80"/>
|
||||
<port protocol="tcp" port="443"/>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<port protocol="tcp" port="10250"/>
|
||||
<port protocol="tcp" port="80"/>
|
||||
<port protocol="tcp" port="443"/>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue