From 4ae4c3a12b446105269919e6668c4409e67ecc2e Mon Sep 17 00:00:00 2001 From: Florian Reinhold Date: Wed, 13 Jul 2022 22:28:58 +0200 Subject: [PATCH] feat(chaos-mesh): install chaos-mesh --- environments/chaos-mesh/devspace.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 environments/chaos-mesh/devspace.yaml diff --git a/environments/chaos-mesh/devspace.yaml b/environments/chaos-mesh/devspace.yaml new file mode 100644 index 0000000..991bd2d --- /dev/null +++ b/environments/chaos-mesh/devspace.yaml @@ -0,0 +1,21 @@ +version: v1beta11 + +require: + devspace: '>= 5.0, < 6.0' + +commands: + - name: start + command: | + helm repo add chaos-mesh https://charts.chaos-mesh.org + helm install chaos-mesh --create-namespace -n chaos-testing chaos-mesh/chaos-mesh --set chaosDaemon.runtime=containerd --set chaosDaemon.socketPath=/run/containerd/containerd.sock --version 2.2.2 + + - name: stop + command: | + helm uninstall chaos-testing + + # - name: wait + # command: | + # until kubectl wait --for=condition=available deployment/cert-manager -n cert-manager --timeout=60s 2>/dev/null; do echo -n "." && sleep 2; done + # until kubectl wait --for=condition=available deployment/cert-manager-cainjector -n cert-manager --timeout=60s 2>/dev/null; do echo -n "." && sleep 2; done + # until kubectl wait --for=condition=available deployment/cert-manager-webhook -n cert-manager --timeout=60s 2>/dev/null; do echo -n "." && sleep 2; done + # until kubectl wait --for=condition=established crd/certificates.cert-manager.io --timeout=60s 2>/dev/null; do echo -n "." && sleep 2; done