Remove unused CRDs

Change-Id: I9cdda464fedc5112d9b8e31fe472a0fd03cb9adc
This commit is contained in:
okozachenko 2020-06-29 22:26:59 +03:00
parent f553657f52
commit e4f4e4f0ab
7 changed files with 0 additions and 185 deletions

View File

@ -1,19 +0,0 @@
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: horizons.dashboard.openstack.org
spec:
group: dashboard.openstack.org
names:
kind: Horizon
listKind: HorizonList
plural: horizons
singular: horizon
scope: Namespaced
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true

View File

@ -1,59 +0,0 @@
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
creationTimestamp: null
name: designates.dns.openstack.org
spec:
group: dns.openstack.org
names:
kind: Designate
listKind: DesignateList
plural: designates
singular: designate
scope: Namespaced
validation:
openAPIV3Schema:
description: Designate is the Schema for the Designates API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: DesignateSpec defines the desired state of Designate
properties:
cloudname:
type: string
credentials:
type: string
required:
- cloudname
- credentials
type: object
status:
description: DesignateStatus defines the observed state of Designate
type: object
type: object
version: v1
versions:
- name: v1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

View File

@ -1,71 +0,0 @@
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
creationTimestamp: null
name: zones.dns.openstack.org
spec:
group: dns.openstack.org
names:
kind: Zone
listKind: ZoneList
plural: zones
singular: zone
scope: Namespaced
validation:
openAPIV3Schema:
description: Zone is the Schema for the Zones API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ZoneSpec defines the desired state of Zone
properties:
description:
type: string
domain:
type: string
email:
type: string
ttl:
type: integer
type:
type: string
required:
- domain
- email
- ttl
type: object
status:
description: ZoneStatus defines the observed state of Zone
properties:
zoneId:
type: string
required:
- zoneId
type: object
type: object
version: v1
versions:
- name: v1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

View File

@ -1,24 +0,0 @@
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: heats.orchestration.openstack.org
spec:
group: orchestration.openstack.org
names:
kind: Heat
listKind: HeatList
plural: heats
singular: heat
scope: Namespaced
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

View File

@ -19,13 +19,10 @@ the appropriate deployments, an instance of Memcache, RabbitMQ and a database
server for the installation.
"""
import kopf
from openstack_operator import utils
@kopf.on.resume('orchestration.openstack.org', 'v1alpha1', 'heats')
@kopf.on.create('orchestration.openstack.org', 'v1alpha1', 'heats')
def create_or_resume(name, spec, **_):
"""Create and re-sync any Heat instances
@ -55,7 +52,6 @@ def create_or_resume(name, spec, **_):
name=name, spec=spec)
@kopf.on.update('orchestration.openstack.org', 'v1alpha1', 'heats')
def update(name, spec, **_):
"""Update a heat

View File

@ -18,12 +18,10 @@ This module maintains the operator for Mcrouter, it takes care of creating
the appropriate deployments, Mcrouter, pod monitors and Prometheus rules.
"""
import kopf
from openstack_operator import utils
@kopf.on.create('dashboard.openstack.org', 'v1alpha1', 'horizons')
def create_secret(name, **_):
"""Create a new horizon secret"""
@ -34,8 +32,6 @@ def create_secret(name, **_):
secret=utils.generate_password())
@kopf.on.resume('dashboard.openstack.org', 'v1alpha1', 'horizons')
@kopf.on.create('dashboard.openstack.org', 'v1alpha1', 'horizons')
def create_or_resume(name, spec, **_):
"""Create and re-sync a horizon instance
@ -62,7 +58,6 @@ def create_or_resume(name, spec, **_):
name=name, spec=spec)
@kopf.on.update('dashboard.openstack.org', 'v1alpha1', 'horizons')
def update(name, spec, **_):
"""Update a horizon

View File

@ -86,8 +86,6 @@ def create_or_rotate_fernet(**_):
create_or_rotate_fernet_repository('credential')
@kopf.on.resume('identity.openstack.org', 'v1alpha1', 'keystones')
@kopf.on.create('identity.openstack.org', 'v1alpha1', 'keystones')
def create_or_resume(name, spec, **_):
"""Create and re-sync any Keystone instances
@ -121,7 +119,6 @@ def create_or_resume(name, spec, **_):
spec=spec)
@kopf.on.update('identity.openstack.org', 'v1alpha1', 'keystones')
def update(spec, **_):
"""Update a keystone