(feat): Adding openebs control plane validation chart (#144)

* (feat): Adding openebs control plane pod delete chart

Signed-off-by: Raj <raj.das@mayadata.io>

* Update engine.yaml

Signed-off-by: ksatchit <karthik.s@mayadata.io>

* Update rbac.yaml

Signed-off-by: ksatchit <karthik.s@mayadata.io>

* Update engine.yaml

Co-authored-by: Karthik Satchitanand <karthik.s@mayadata.io>
This commit is contained in:
Raj Babu Das
2020-02-14 14:43:25 -05:00
committed by GitHub
parent 8a44a279ec
commit 01ad6a3ae2
5 changed files with 181 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Kill all openebs control plane pod and check if gets scheduled again
kind: ChaosExperiment
metadata:
labels:
litmuschaos.io/name: openebs
name: openebs-control-plane-validation
version: 0.1.0
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "litmuschaos.io"
- "batch"
- "apps"
resources:
- "pods"
- "deployments"
- "jobs"
- "configmaps"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
args:
- -c
- ansible-playbook ./experiments/openebs/openebs-control-plane-validation/openebs_control_plane_validation_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: OPENEBS_NAMESPACE
value: 'openebs'
## Period to wait before injection of chaos
- name: RAMP_TIME
value: ''
- name: FORCE
value: ''
## env var that describes the library used to execute the chaos
## default: litmus. Supported values: litmus, powerfulseal
- name: LIB
value: ''
labels:
name: openebs-control-plane-validation