parent
d4eecac108
commit
2c9fc18903
3 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
|
||||
- name: crun | Copy runtime class manifest
|
||||
copy:
|
||||
template:
|
||||
src: runtimeclass-crun.yml
|
||||
dest: "{{ kube_config_dir }}/runtimeclass-crun.yml"
|
||||
mode: preserve
|
||||
mode: "0664"
|
||||
when:
|
||||
- inventory_hostname == groups['kube-master'][0]
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
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:
|
||||
name: crun
|
||||
handler: crun
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
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:
|
||||
name: kata-qemu
|
||||
handler: kata-qemu
|
||||
|
|
Loading…
Reference in a new issue