|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.17.1 |
| 6 | + creationTimestamp: null |
| 7 | + name: routerinterfaces.openstack.k-orc.cloud |
| 8 | +spec: |
| 9 | + group: openstack.k-orc.cloud |
| 10 | + names: |
| 11 | + categories: |
| 12 | + - openstack |
| 13 | + kind: RouterInterface |
| 14 | + listKind: RouterInterfaceList |
| 15 | + plural: routerinterfaces |
| 16 | + singular: routerinterface |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - description: Availability status of resource |
| 21 | + jsonPath: .status.conditions[?(@.type=='Available')].status |
| 22 | + name: Available |
| 23 | + type: string |
| 24 | + - description: Message describing current progress status |
| 25 | + jsonPath: .status.conditions[?(@.type=='Progressing')].message |
| 26 | + name: Message |
| 27 | + type: string |
| 28 | + name: v1alpha1 |
| 29 | + schema: |
| 30 | + openAPIV3Schema: |
| 31 | + description: RouterInterface is the Schema for an ORC resource. |
| 32 | + properties: |
| 33 | + apiVersion: |
| 34 | + description: |- |
| 35 | + APIVersion defines the versioned schema of this representation of an object. |
| 36 | + Servers should convert recognized schemas to the latest internal value, and |
| 37 | + may reject unrecognized values. |
| 38 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 39 | + type: string |
| 40 | + kind: |
| 41 | + description: |- |
| 42 | + Kind is a string value representing the REST resource this object represents. |
| 43 | + Servers may infer this from the endpoint the client submits requests to. |
| 44 | + Cannot be updated. |
| 45 | + In CamelCase. |
| 46 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 47 | + type: string |
| 48 | + metadata: |
| 49 | + type: object |
| 50 | + spec: |
| 51 | + description: spec specifies the desired state of the resource. |
| 52 | + properties: |
| 53 | + routerRef: |
| 54 | + description: routerRef references the router to which this interface |
| 55 | + belongs. |
| 56 | + maxLength: 253 |
| 57 | + minLength: 1 |
| 58 | + type: string |
| 59 | + subnetRef: |
| 60 | + description: subnetRef references the subnet the router interface |
| 61 | + is created on. |
| 62 | + maxLength: 253 |
| 63 | + minLength: 1 |
| 64 | + type: string |
| 65 | + type: |
| 66 | + description: type specifies the type of the router interface. |
| 67 | + enum: |
| 68 | + - Subnet |
| 69 | + maxLength: 8 |
| 70 | + minLength: 1 |
| 71 | + type: string |
| 72 | + required: |
| 73 | + - routerRef |
| 74 | + - type |
| 75 | + type: object |
| 76 | + x-kubernetes-validations: |
| 77 | + - message: subnetRef is required when type is 'Subnet' and not permitted |
| 78 | + otherwise |
| 79 | + rule: 'self.type == ''Subnet'' ? has(self.subnetRef) : !has(self.subnetRef)' |
| 80 | + - message: RouterInterfaceResourceSpec is immutable |
| 81 | + rule: self == oldSelf |
| 82 | + status: |
| 83 | + description: status defines the observed state of the resource. |
| 84 | + properties: |
| 85 | + conditions: |
| 86 | + description: |- |
| 87 | + conditions represents the observed status of the object. |
| 88 | + Known .status.conditions.type are: "Available", "Progressing" |
| 89 | +
|
| 90 | + Available represents the availability of the OpenStack resource. If it is |
| 91 | + true then the resource is ready for use. |
| 92 | +
|
| 93 | + Progressing indicates whether the controller is still attempting to |
| 94 | + reconcile the current state of the OpenStack resource to the desired |
| 95 | + state. Progressing will be False either because the desired state has |
| 96 | + been achieved, or because some terminal error prevents it from ever being |
| 97 | + achieved and the controller is no longer attempting to reconcile. If |
| 98 | + Progressing is True, an observer waiting on the resource should continue |
| 99 | + to wait. |
| 100 | + items: |
| 101 | + description: Condition contains details for one aspect of the current |
| 102 | + state of this API Resource. |
| 103 | + properties: |
| 104 | + lastTransitionTime: |
| 105 | + description: |- |
| 106 | + lastTransitionTime is the last time the condition transitioned from one status to another. |
| 107 | + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 108 | + format: date-time |
| 109 | + type: string |
| 110 | + message: |
| 111 | + description: |- |
| 112 | + message is a human readable message indicating details about the transition. |
| 113 | + This may be an empty string. |
| 114 | + maxLength: 32768 |
| 115 | + type: string |
| 116 | + observedGeneration: |
| 117 | + description: |- |
| 118 | + observedGeneration represents the .metadata.generation that the condition was set based upon. |
| 119 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 120 | + with respect to the current state of the instance. |
| 121 | + format: int64 |
| 122 | + minimum: 0 |
| 123 | + type: integer |
| 124 | + reason: |
| 125 | + description: |- |
| 126 | + reason contains a programmatic identifier indicating the reason for the condition's last transition. |
| 127 | + Producers of specific condition types may define expected values and meanings for this field, |
| 128 | + and whether the values are considered a guaranteed API. |
| 129 | + The value should be a CamelCase string. |
| 130 | + This field may not be empty. |
| 131 | + maxLength: 1024 |
| 132 | + minLength: 1 |
| 133 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 134 | + type: string |
| 135 | + status: |
| 136 | + description: status of the condition, one of True, False, Unknown. |
| 137 | + enum: |
| 138 | + - "True" |
| 139 | + - "False" |
| 140 | + - Unknown |
| 141 | + type: string |
| 142 | + type: |
| 143 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. |
| 144 | + maxLength: 316 |
| 145 | + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ |
| 146 | + type: string |
| 147 | + required: |
| 148 | + - lastTransitionTime |
| 149 | + - message |
| 150 | + - reason |
| 151 | + - status |
| 152 | + - type |
| 153 | + type: object |
| 154 | + maxItems: 32 |
| 155 | + type: array |
| 156 | + x-kubernetes-list-map-keys: |
| 157 | + - type |
| 158 | + x-kubernetes-list-type: map |
| 159 | + id: |
| 160 | + description: id is the unique identifier of the port created for the |
| 161 | + router interface |
| 162 | + maxLength: 1024 |
| 163 | + type: string |
| 164 | + type: object |
| 165 | + type: object |
| 166 | + served: true |
| 167 | + storage: true |
| 168 | + subresources: |
| 169 | + status: {} |
| 170 | +status: |
| 171 | + acceptedNames: |
| 172 | + kind: "" |
| 173 | + plural: "" |
| 174 | + conditions: null |
| 175 | + storedVersions: null |
0 commit comments