diff --git a/charts/openebs/experiments.yaml b/charts/openebs/experiments.yaml index 4c4491e..3e4d108 100644 --- a/charts/openebs/experiments.yaml +++ b/charts/openebs/experiments.yaml @@ -9,35 +9,89 @@ kind: ChaosExperiment metadata: labels: litmuschaos.io/name: openebs - name: openebs-target-failure - version: 0.1.1 + name: openebs-target-container-failure + version: 0.1.2 spec: definition: - image: "openebs/ansible-runner:ci" + permissions: + apiGroups: + - "" + - "extensions" + - "apps" + - "batch" + - "litmuschaos.io" + - "openebs.io" + - "storage.k8s.io" + resources: + - "daemonsets" + - "statefulsets" + - "deployments" + - "replicasets" + - "jobs" + - "pods" + - "pods/exec" + - "chaosengines" + - "chaosexperiments" + - "chaosresults" + - "persistentvolumeclaims" + - "storageclasses" + - "persistentvolumes" + verbs: + - "*" + image: "litmuschaos/ansible-runner:ci" args: - -c - - ansible-playbook ./experiments/chaos/openebs_target_failure/test.yml -i /etc/ansible/hosts -vv; exit 0 + - ansible-playbook ./experiments/openebs/openebs-target-container-failure/openebs_target_container_failure_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 command: - /bin/bash env: - name: ANSIBLE_STDOUT_CALLBACK - value: default - - name: TARGET_NAMESPACE - value: "openebs" - - name: DATA_PERSISTENCE - value: "" - - name: CHAOS_TYPE - value: "target-zrepl-kill" + value: 'default' + + - name: OPENEBS_NAMESPACE + value: 'openebs' + + - name: APP_PVC + value: '' + + # LIB_IMAGE can be - gaiaadm/pumba:0.4.8, gprasath/crictl:ci + # For pumba image use : gaiaadm/pumba:0.4.8 + # For containerd image use : gprasath/crictl:ci + - name: LIB_IMAGE + value: 'gaiaadm/pumba:0.4.8' + + # Specify the container runtime used , to pick the relevant chaos util + - name: CONTAINER_RUNTIME + value: 'docker' + + # TARGET_CONTAINER values: cstor-volume-mgmt , cstor-istgt + # For cstor-volume-istgt container kill use : cstor-istgt + # For volume-mgmt-kill container use : cstor-volume-mgmt + - name: TARGET_CONTAINER - value: "cstor-volume-mgmt" + value: 'cstor-volume-mgmt' + + - name: FORCE + value: 'true' + + - name: LIVENESS_APP_LABEL + value: '' + + - name: LIVENESS_APP_NAMESPACE + value: '' + + - name: DATA_PERSISTENCE + value: '' + - name: DEPLOY_TYPE - value: "deployment" + value: 'deployment' + labels: - name: openebs-target-failure + name: openebs-target-container-failure configmaps: - - name: target-failure + - name: openebs-target-container-failure data: - parameters.yml: | + parameters.yml: | --- --- diff --git a/charts/openebs/openebs-target-container-failure/experiment.yaml b/charts/openebs/openebs-target-container-failure/experiment.yaml index 5317ae3..214cc80 100644 --- a/charts/openebs/openebs-target-container-failure/experiment.yaml +++ b/charts/openebs/openebs-target-container-failure/experiment.yaml @@ -8,7 +8,7 @@ metadata: labels: litmuschaos.io/name: openebs name: openebs-target-container-failure - version: 0.1.1 + version: 0.1.2 spec: definition: permissions: diff --git a/charts/openebs/openebs-target-container-failure/openebs-target-container-failure.chartserviceversion.yaml b/charts/openebs/openebs-target-container-failure/openebs-target-container-failure.chartserviceversion.yaml index c798476..1463b8a 100644 --- a/charts/openebs/openebs-target-container-failure/openebs-target-container-failure.chartserviceversion.yaml +++ b/charts/openebs/openebs-target-container-failure/openebs-target-container-failure.chartserviceversion.yaml @@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1 kind: ChartServiceVersion metadata: name: openebs-target-container-failure - version: 0.1.1 + version: 0.1.2 annotations: categories: OpenEBS vendor: CNCF