Create zookeeper operator

Change-Id: I99d54739b289c80f169f26e0b99d2d0362d37dd2
This commit is contained in:
Jeff Liu 2019-08-14 12:35:32 -04:00 committed by Mohammed Naser
parent 5637d13f1f
commit b6a9870e57
2 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,7 @@
post-run: playbooks/zuul-operator-functional-k8s/post.yaml
nodeset: ubuntu-xenial
required-projects:
- github.com/pravega/zookeeper-operator
- zuul/zuul-operator
- job:

View File

@ -21,6 +21,15 @@
args:
chdir: "{{ zuul.projects['opendev.org/zuul/zuul-operator'].src_dir }}"
- name: Deploy Zookeeper operator
command: kubectl create -f {{ item }}
args:
chdir: "{{ zuul.projects['github.com/pravega/zookeeper-operator'].src_dir }}/deploy"
loop:
- crds/zookeeper_v1beta1_zookeepercluster_crd.yaml
- default_ns/rbac.yaml
- default_ns/operator.yaml
- name: wait for pods to come up
command: kubectl get pods -o json
register: kubectl_get_pods