mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
33 lines
826 B
YAML
33 lines
826 B
YAML
|
|
apiVersion: batch/v1
|
||
|
|
kind: Job
|
||
|
|
metadata:
|
||
|
|
generateName: zfspv-custom-topology-
|
||
|
|
namespace: e2e
|
||
|
|
spec:
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
test: zfspv-custom-topology
|
||
|
|
spec:
|
||
|
|
serviceAccountName: e2e
|
||
|
|
restartPolicy: Never
|
||
|
|
|
||
|
|
containers:
|
||
|
|
- name: ansibletest
|
||
|
|
image: openebs/zfs-localpv-e2e:ci
|
||
|
|
imagePullPolicy: IfNotPresent
|
||
|
|
env:
|
||
|
|
- name: ANSIBLE_STDOUT_CALLBACK
|
||
|
|
value: default
|
||
|
|
|
||
|
|
- name: APP_NAMESPACE
|
||
|
|
value: 'custom-ns'
|
||
|
|
|
||
|
|
- name: ZPOOL_NAME
|
||
|
|
value: 'zfs-test-pool'
|
||
|
|
|
||
|
|
- name: NODE_LABEL
|
||
|
|
value: 'test=custom-topology'
|
||
|
|
|
||
|
|
command: ["/bin/bash"]
|
||
|
|
args: ["-c", "ansible-playbook ./e2e-tests/experiments/functional/zfspv-custom-topology/test.yml -i /etc/ansible/hosts -vv; exit 0"]
|