diff --git a/experiments/zfs-localpv/zfs-localpv-provisioner/run_litmus_test.yml b/experiments/zfs-localpv/zfs-localpv-provisioner/run_litmus_test.yml index ad57995b..db0b2eb1 100644 --- a/experiments/zfs-localpv/zfs-localpv-provisioner/run_litmus_test.yml +++ b/experiments/zfs-localpv/zfs-localpv-provisioner/run_litmus_test.yml @@ -34,13 +34,6 @@ spec: - name: ZFS_DRIVER_IMAGE value: '' - ## This env will be used to select zfs-operator file for - ## specific Operating system on which k8s cluster is created - ## For ubuntu based cluster give value as `ubuntu` (for both either 18.04 or 16.04) - ## For CentOS based cluster give value as either `centos7` or `centos8` accordingly - - name: OS_NAME - value: '' - ## If zpool need to be created on each worker node set this value as `true` ## If already present and no need of zpool creation then set this value as `false` ## If false then leave `POOL_NAME` & `POOL_TYPE` env values empty. diff --git a/experiments/zfs-localpv/zfs-localpv-provisioner/test.yml b/experiments/zfs-localpv/zfs-localpv-provisioner/test.yml index 8f50b892..411b8d34 100644 --- a/experiments/zfs-localpv/zfs-localpv-provisioner/test.yml +++ b/experiments/zfs-localpv/zfs-localpv-provisioner/test.yml @@ -24,39 +24,16 @@ include_tasks: /utils/zpool_creation/create_zpool.yml when: lookup('env','ZPOOL_CREATION') == 'true' - - name: Download OpenEBS ZFS driver file when OS is ubuntu + - name: Download OpenEBS ZFS-LocalPV operator file get_url: url: https://raw.githubusercontent.com/openebs/zfs-localpv/{{ zfs_branch }}/deploy/zfs-operator.yaml dest: ./zfs_operator.yml force: yes register: result - when: lookup('env','OS_NAME') == 'ubuntu' until: "'OK' in result.msg" delay: 5 retries: 3 - - - name: Download OpenEBS ZFS driver file when OS is CentOS7 - get_url: - url: https://raw.githubusercontent.com/openebs/zfs-localpv/{{ zfs_branch }}/deploy/operators/centos7/zfs-operator.yaml - dest: ./zfs_operator.yml - force: yes - register: result - when: lookup('env','OS_NAME') == 'centos7' - until: "'OK' in result.msg" - delay: 5 - retries: 3 - - - name: Download OpenEBS ZFS driver file when OS is CentOS8 - get_url: - url: https://raw.githubusercontent.com/openebs/zfs-localpv/{{ zfs_branch }}/deploy/operators/centos8/zfs-operator.yaml - dest: ./zfs_operator.yml - force: yes - register: result - when: lookup('env','OS_NAME') == 'centos8' - until: "'OK' in result.msg" - delay: 5 - retries: 3 - + - name: Update the openebs zfs-driver image tag replace: path: ./zfs_operator.yml