fix(k0s): update logic in k0sctl.yaml
This commit is contained in:
1 parent
c46a70b98f
commit
db9f6d0258
1 file changed
+3
-1
@@ -15,13 +15,15 @@ spec:
|
|||||||
- --disable-components=metrics-server
|
- --disable-components=metrics-server
|
||||||
#% if item.role | default('') == 'controller+worker' %#
|
#% if item.role | default('') == 'controller+worker' %#
|
||||||
- --no-taints
|
- --no-taints
|
||||||
|
#% endif %#
|
||||||
|
#% if item.role | default('') == 'controller+worker' %#
|
||||||
files:
|
files:
|
||||||
- name: containerd-config
|
- name: containerd-config
|
||||||
src: resources/containerd/
|
src: resources/containerd/
|
||||||
perm: 0644
|
perm: 0644
|
||||||
user: root
|
user: root
|
||||||
group: root
|
group: root
|
||||||
#% endif %#
|
#% endif %#
|
||||||
#% if loop.first %#
|
#% if loop.first %#
|
||||||
hooks: &hooks
|
hooks: &hooks
|
||||||
#% if item.role | default('') == 'controller+worker' %#
|
#% if item.role | default('') == 'controller+worker' %#
|
||||||
|
|||||||
Reference in new issue
Block a user