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
kind: ZuulService
kind: Zuul
metadata:
name: example-zuul
spec:

View File

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

View File

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