chore: use api7/etcd-operator in chaos CI (#3460)

Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
This commit is contained in:
Shuyang Wu 2021-01-31 22:36:32 +08:00 committed by GitHub
parent d0816200e6
commit 09a4673a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,10 +24,9 @@ jobs:
kubectl get pods -n kube-system
kubectl version
# TODO: should not use personal repo, while it's hard to modify a lot in an archived repo. Could we use api7's repo?
- name: Deploy Etcd Operator
run: |
git clone https://github.com/yiyiyimu/etcd-operator.git --depth 1
git clone https://github.com/api7/etcd-operator.git --depth 1
bash etcd-operator/example/rbac/create_role.sh
kubectl create -f etcd-operator/example/deployment.yaml
bash ./t/chaos/utils.sh ensure_pods_ready etcd-operator "True" 30