|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.16.1 |
| 7 | + name: phase1obj.test.cluster.x-k8s.io |
| 8 | +spec: |
| 9 | + group: test.cluster.x-k8s.io |
| 10 | + names: |
| 11 | + categories: |
| 12 | + - cluster-api |
| 13 | + kind: Phase1Obj |
| 14 | + listKind: Phase1ObjList |
| 15 | + plural: phase1obj |
| 16 | + singular: phase1obj |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - name: v1alpha1 |
| 20 | + schema: |
| 21 | + openAPIV3Schema: |
| 22 | + description: Phase1Obj defines an object with conditions and experimental |
| 23 | + conditions. |
| 24 | + properties: |
| 25 | + apiVersion: |
| 26 | + description: |- |
| 27 | + APIVersion defines the versioned schema of this representation of an object. |
| 28 | + Servers should convert recognized schemas to the latest internal value, and |
| 29 | + may reject unrecognized values. |
| 30 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 31 | + type: string |
| 32 | + kind: |
| 33 | + description: |- |
| 34 | + Kind is a string value representing the REST resource this object represents. |
| 35 | + Servers may infer this from the endpoint the client submits requests to. |
| 36 | + Cannot be updated. |
| 37 | + In CamelCase. |
| 38 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 39 | + type: string |
| 40 | + metadata: |
| 41 | + type: object |
| 42 | + spec: |
| 43 | + description: Phase1ObjSpec defines the spec of a Phase1Obj. |
| 44 | + properties: |
| 45 | + foo: |
| 46 | + type: string |
| 47 | + type: object |
| 48 | + status: |
| 49 | + description: Phase1ObjStatus defines the status of a Phase1Obj. |
| 50 | + properties: |
| 51 | + bar: |
| 52 | + type: string |
| 53 | + conditions: |
| 54 | + description: Conditions provide observations of the operational state |
| 55 | + of a Cluster API resource. |
| 56 | + items: |
| 57 | + description: Condition defines an observation of a Cluster API resource |
| 58 | + operational state. |
| 59 | + properties: |
| 60 | + lastTransitionTime: |
| 61 | + description: |- |
| 62 | + Last time the condition transitioned from one status to another. |
| 63 | + This should be when the underlying condition changed. If that is not known, then using the time when |
| 64 | + the API field changed is acceptable. |
| 65 | + format: date-time |
| 66 | + type: string |
| 67 | + message: |
| 68 | + description: |- |
| 69 | + A human readable message indicating details about the transition. |
| 70 | + This field may be empty. |
| 71 | + type: string |
| 72 | + reason: |
| 73 | + description: |- |
| 74 | + The reason for the condition's last transition in CamelCase. |
| 75 | + The specific API may choose whether or not this field is considered a guaranteed API. |
| 76 | + This field may be empty. |
| 77 | + type: string |
| 78 | + severity: |
| 79 | + description: |- |
| 80 | + Severity provides an explicit classification of Reason code, so the users or machines can immediately |
| 81 | + understand the current situation and act accordingly. |
| 82 | + The Severity field MUST be set only when Status=False. |
| 83 | + type: string |
| 84 | + status: |
| 85 | + description: Status of the condition, one of True, False, Unknown. |
| 86 | + type: string |
| 87 | + type: |
| 88 | + description: |- |
| 89 | + Type of condition in CamelCase or in foo.example.com/CamelCase. |
| 90 | + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions |
| 91 | + can be useful (see .node.status.conditions), the ability to deconflict is important. |
| 92 | + type: string |
| 93 | + required: |
| 94 | + - lastTransitionTime |
| 95 | + - status |
| 96 | + - type |
| 97 | + type: object |
| 98 | + type: array |
| 99 | + v1beta2: |
| 100 | + description: Phase1ObjStatusV1beta2 defines the status.V1Beta1 of |
| 101 | + a Phase1Obj. |
| 102 | + properties: |
| 103 | + conditions: |
| 104 | + items: |
| 105 | + description: Condition contains details for one aspect of the |
| 106 | + current state of this API Resource. |
| 107 | + properties: |
| 108 | + lastTransitionTime: |
| 109 | + description: |- |
| 110 | + lastTransitionTime is the last time the condition transitioned from one status to another. |
| 111 | + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 112 | + format: date-time |
| 113 | + type: string |
| 114 | + message: |
| 115 | + description: |- |
| 116 | + message is a human readable message indicating details about the transition. |
| 117 | + This may be an empty string. |
| 118 | + maxLength: 32768 |
| 119 | + type: string |
| 120 | + observedGeneration: |
| 121 | + description: |- |
| 122 | + observedGeneration represents the .metadata.generation that the condition was set based upon. |
| 123 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 124 | + with respect to the current state of the instance. |
| 125 | + format: int64 |
| 126 | + minimum: 0 |
| 127 | + type: integer |
| 128 | + reason: |
| 129 | + description: |- |
| 130 | + reason contains a programmatic identifier indicating the reason for the condition's last transition. |
| 131 | + Producers of specific condition types may define expected values and meanings for this field, |
| 132 | + and whether the values are considered a guaranteed API. |
| 133 | + The value should be a CamelCase string. |
| 134 | + This field may not be empty. |
| 135 | + maxLength: 1024 |
| 136 | + minLength: 1 |
| 137 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 138 | + type: string |
| 139 | + status: |
| 140 | + description: status of the condition, one of True, False, |
| 141 | + Unknown. |
| 142 | + enum: |
| 143 | + - "True" |
| 144 | + - "False" |
| 145 | + - Unknown |
| 146 | + type: string |
| 147 | + type: |
| 148 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. |
| 149 | + maxLength: 316 |
| 150 | + 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])$ |
| 151 | + type: string |
| 152 | + required: |
| 153 | + - lastTransitionTime |
| 154 | + - message |
| 155 | + - reason |
| 156 | + - status |
| 157 | + - type |
| 158 | + type: object |
| 159 | + type: array |
| 160 | + x-kubernetes-list-map-keys: |
| 161 | + - type |
| 162 | + x-kubernetes-list-type: map |
| 163 | + type: object |
| 164 | + type: object |
| 165 | + type: object |
| 166 | + served: true |
| 167 | + storage: true |
| 168 | + subresources: |
| 169 | + status: {} |
0 commit comments