![Luis Tomas Bolivar](/assets/img/avatar_default.png)
This patch moves the namespace handling to be more aligned with the k8s style. Depends-on: If0aaf748d13027b3d660aa0f74c4f6653e911250 Change-Id: Ia2811d743f6c4791321b05977118d0b4276787b5
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: kuryrnets.openstack.org
|
|
spec:
|
|
group: openstack.org
|
|
scope: Cluster
|
|
names:
|
|
plural: kuryrnets
|
|
singular: kuryrnet
|
|
kind: KuryrNet
|
|
versions:
|
|
- name: v1
|
|
served: true
|
|
storage: true
|
|
additionalPrinterColumns:
|
|
- name: SUBNET-CIDR
|
|
type: string
|
|
description: The subnet CIDR allocated to the namespace
|
|
jsonPath: .spec.subnetCIDR
|
|
- name: Age
|
|
type: date
|
|
jsonPath: .metadata.creationTimestamp
|
|
schema:
|
|
openAPIV3Schema:
|
|
type: object
|
|
properties:
|
|
spec:
|
|
type: object
|
|
required:
|
|
- netId
|
|
- routerId
|
|
- subnetCIDR
|
|
- subnetId
|
|
properties:
|
|
netId:
|
|
type: string
|
|
populated:
|
|
type: boolean
|
|
routerId:
|
|
type: string
|
|
subnetCIDR:
|
|
type: string
|
|
subnetId:
|
|
type: string
|