Switch back to Zuul crd, short name is better

This commit is contained in:
Tristan Cacqueray 2019-04-05 01:39:53 +00:00
parent 996737d56d
commit fa042d9c6f
3 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
apiVersion: operator.zuul-ci.org/v1alpha1 apiVersion: operator.zuul-ci.org/v1alpha1
kind: ZuulService kind: Zuul
metadata: metadata:
name: example-zuul name: example-zuul
spec: spec:

View File

@ -1,14 +1,14 @@
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
name: zuulservices.operator.zuul-ci.org name: zuul.operator.zuul-ci.org
spec: spec:
group: operator.zuul-ci.org group: operator.zuul-ci.org
names: names:
kind: ZuulService kind: Zuul
listKind: ZuulServiceList listKind: ZuulList
plural: zuulservices plural: zuuls
singular: zuulservice singular: zuul
shortNames: shortNames:
- zuul - zuul
scope: Namespaced scope: Namespaced

View File

@ -1,5 +1,5 @@
--- ---
- version: v1alpha1 - version: v1alpha1
group: operator.zuul-ci.org group: operator.zuul-ci.org
kind: ZuulService kind: Zuul
playbook: /opt/ansible/zuul.yaml playbook: /opt/ansible/zuul.yaml