update(experiment CR): add configmap for data persistence (#24)

* update(experiment CR): add configmap for data persistence

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2019-10-15 18:27:51 +05:30
committed by Karthik Satchitanand
parent 6927852b9f
commit 631d5a14dd
3 changed files with 13 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ spec:
image: "openebs/ansible-runner:ci" image: "openebs/ansible-runner:ci"
args: args:
- -c - -c
- ansible-playbook ./experiments/chaos/experiments/chaos/openebs_target_network_delay/test.yml -i /etc/ansible/hosts -vv; exit 0 - ansible-playbook ./experiments/chaos/openebs_target_network_delay/test.yml -i /etc/ansible/hosts -vv; exit 0
command: command:
- /bin/bash - /bin/bash
env: env:
@@ -28,4 +28,8 @@ spec:
- name: DATA_PERSISTENCY - name: DATA_PERSISTENCY
value: "" value: ""
labels: labels:
name: openebs-target-network-delay name: openebs-target-network-delay
configmaps:
- name: target-network-delay
data:
parameters.yml: |

View File

@@ -6,7 +6,7 @@ metadata:
annotations: annotations:
categories: Kubernetes categories: Kubernetes
vendor: CNCF vendor: CNCF
repository: https://github.com/litmuschaos/community-charts repository: https://github.com/litmuschaos/chaos-charts
support: https://slack.kubernetes.io/ support: https://slack.kubernetes.io/
spec: spec:
displayName: openebs_target_network_delay displayName: openebs_target_network_delay

View File

@@ -13,7 +13,7 @@ spec:
image: "openebs/ansible-runner:ci" image: "openebs/ansible-runner:ci"
args: args:
- -c - -c
- ansible-playbook ./experiments/chaos/experiments/chaos/openebs_target_network_loss/test.yml -i /etc/ansible/hosts -vv; exit 0 - ansible-playbook ./experiments/chaos/openebs_target_network_loss/test.yml -i /etc/ansible/hosts -vv; exit 0
command: command:
- /bin/bash - /bin/bash
env: env:
@@ -28,4 +28,8 @@ spec:
- name: DATA_PERSISTENCY - name: DATA_PERSISTENCY
value: "" value: ""
labels: labels:
name: openebs-target-network-loss name: openebs-target-network-loss
configmaps:
- name: target-network-loss
data:
parameters.yml: |