diff --git a/roles/container-engine/cri-o/defaults/main.yml b/roles/container-engine/cri-o/defaults/main.yml index 54d10aa6f4675e03c9807b8e8e068733dbb9b108..ce17424c2f02a96c496451b9185c415232fd48b9 100644 --- a/roles/container-engine/cri-o/defaults/main.yml +++ b/roles/container-engine/cri-o/defaults/main.yml @@ -9,7 +9,7 @@ crio_conmon: "/usr/bin/conmon" crio_required_version: "{{ kube_version | regex_replace('^v(?P<major>\\d+).(?P<minor>\\d+).(?P<patch>\\d+)$', '\\g<major>.\\g<minor>') }}" crio_kubernetes_version_matrix: - "1.18": "1.17" + "1.18": "1.18" "1.17": "1.17" "1.16": "1.16" diff --git a/roles/container-engine/cri-o/molecule/default/molecule.yml b/roles/container-engine/cri-o/molecule/default/molecule.yml index c0ab571cdec790e042de78b377dbfc90a29d9864..06517b625165247081acf34ca48f39a050c5bebb 100644 --- a/roles/container-engine/cri-o/molecule/default/molecule.yml +++ b/roles/container-engine/cri-o/molecule/default/molecule.yml @@ -8,12 +8,12 @@ lint: options: config-file: ../../../.yamllint platforms: - # - name: ubuntu1804 - # box: generic/ubuntu1804 - # cpus: 2 - # memory: 1024 - # groups: - # - kube-master + - name: ubuntu1804 + box: generic/ubuntu1804 + cpus: 2 + memory: 1024 + groups: + - kube-master - name: centos7 box: centos/7 cpus: 2 diff --git a/roles/container-engine/cri-o/vars/ubuntu.yml b/roles/container-engine/cri-o/vars/ubuntu.yml index 213ce5a49a6404a34304013bd6ab021808887b30..5495f193a6bb4ccb63ef82776eb68015953fecb6 100644 --- a/roles/container-engine/cri-o/vars/ubuntu.yml +++ b/roles/container-engine/cri-o/vars/ubuntu.yml @@ -4,3 +4,8 @@ crio_packages: - "cri-o-{{ crio_version }}" crio_runc_path: /usr/sbin/runc + +crio_kubernetes_version_matrix: + "1.18": "1.17" + "1.17": "1.17" + "1.16": "1.16"