parent
d4eecac108
commit
2c9fc18903
3 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: crun | Copy runtime class manifest
|
- name: crun | Copy runtime class manifest
|
||||||
copy:
|
template:
|
||||||
src: runtimeclass-crun.yml
|
src: runtimeclass-crun.yml
|
||||||
dest: "{{ kube_config_dir }}/runtimeclass-crun.yml"
|
dest: "{{ kube_config_dir }}/runtimeclass-crun.yml"
|
||||||
mode: preserve
|
mode: "0664"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups['kube-master'][0]
|
- inventory_hostname == groups['kube-master'][0]
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
kind: RuntimeClass
|
kind: RuntimeClass
|
||||||
apiVersion: node.k8s.io/v1{{ 'beta1' if kube_version is version('v1.20.0', '<') }}
|
apiVersion: node.k8s.io/v1{{ 'beta1' if kube_version is version('v1.20.0', '<') else '' }}
|
||||||
metadata:
|
metadata:
|
||||||
name: crun
|
name: crun
|
||||||
handler: crun
|
handler: crun
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
kind: RuntimeClass
|
kind: RuntimeClass
|
||||||
apiVersion: node.k8s.io/v1{{ 'beta1' if kube_version is version('v1.20.0', '<') }}
|
apiVersion: node.k8s.io/v1{{ 'beta1' if kube_version is version('v1.20.0', '<') else '' }}
|
||||||
metadata:
|
metadata:
|
||||||
name: kata-qemu
|
name: kata-qemu
|
||||||
handler: kata-qemu
|
handler: kata-qemu
|
||||||
|
|
Loading…
Reference in a new issue