|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.11.4 |
| 6 | + name: hierarchyconfigurations.hnc.x-k8s.io |
| 7 | +spec: |
| 8 | + group: hnc.x-k8s.io |
| 9 | + names: |
| 10 | + kind: HierarchyConfiguration |
| 11 | + listKind: HierarchyConfigurationList |
| 12 | + plural: hierarchyconfigurations |
| 13 | + singular: hierarchyconfiguration |
| 14 | + scope: Namespaced |
| 15 | + versions: |
| 16 | + - name: v1alpha2 |
| 17 | + schema: |
| 18 | + openAPIV3Schema: |
| 19 | + description: Hierarchy is the Schema for the hierarchies API |
| 20 | + properties: |
| 21 | + apiVersion: |
| 22 | + 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' |
| 23 | + type: string |
| 24 | + kind: |
| 25 | + 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' |
| 26 | + type: string |
| 27 | + metadata: |
| 28 | + properties: |
| 29 | + name: |
| 30 | + enum: |
| 31 | + - hierarchy |
| 32 | + type: string |
| 33 | + type: object |
| 34 | + spec: |
| 35 | + description: HierarchySpec defines the desired state of Hierarchy |
| 36 | + properties: |
| 37 | + allowCascadingDeletion: |
| 38 | + description: AllowCascadingDeletion indicates if the subnamespaces of this namespace are allowed to cascading delete. |
| 39 | + type: boolean |
| 40 | + annotations: |
| 41 | + description: Annotations is a list of annotations and values to apply to the current namespace and all of its descendants. All annotation keys must match a regex specified on the command line by --managed-namespace-annotation. A namespace cannot have a KVP that conflicts with one of its ancestors. |
| 42 | + items: |
| 43 | + description: MetaKVP represents a label or annotation |
| 44 | + properties: |
| 45 | + key: |
| 46 | + description: Key is the name of the label or annotation. It must conform to the normal rules for Kubernetes label/annotation keys. |
| 47 | + type: string |
| 48 | + value: |
| 49 | + description: Value is the value of the label or annotation. It must confirm to the normal rules for Kubernetes label or annoation values, which are far more restrictive for labels than for anntations. |
| 50 | + type: string |
| 51 | + required: |
| 52 | + - key |
| 53 | + - value |
| 54 | + type: object |
| 55 | + type: array |
| 56 | + labels: |
| 57 | + description: Lables is a list of labels and values to apply to the current namespace and all of its descendants. All label keys must match a regex specified on the command line by --managed-namespace-label. A namespace cannot have a KVP that conflicts with one of its ancestors. |
| 58 | + items: |
| 59 | + description: MetaKVP represents a label or annotation |
| 60 | + properties: |
| 61 | + key: |
| 62 | + description: Key is the name of the label or annotation. It must conform to the normal rules for Kubernetes label/annotation keys. |
| 63 | + type: string |
| 64 | + value: |
| 65 | + description: Value is the value of the label or annotation. It must confirm to the normal rules for Kubernetes label or annoation values, which are far more restrictive for labels than for anntations. |
| 66 | + type: string |
| 67 | + required: |
| 68 | + - key |
| 69 | + - value |
| 70 | + type: object |
| 71 | + type: array |
| 72 | + parent: |
| 73 | + description: Parent indicates the parent of this namespace, if any. |
| 74 | + type: string |
| 75 | + type: object |
| 76 | + status: |
| 77 | + description: HierarchyStatus defines the observed state of Hierarchy |
| 78 | + properties: |
| 79 | + children: |
| 80 | + description: Children indicates the direct children of this namespace, if any. |
| 81 | + items: |
| 82 | + type: string |
| 83 | + type: array |
| 84 | + conditions: |
| 85 | + description: Conditions describes the errors, if any. |
| 86 | + items: |
| 87 | + description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" |
| 88 | + properties: |
| 89 | + lastTransitionTime: |
| 90 | + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 91 | + format: date-time |
| 92 | + type: string |
| 93 | + message: |
| 94 | + description: message is a human readable message indicating details about the transition. This may be an empty string. |
| 95 | + maxLength: 32768 |
| 96 | + type: string |
| 97 | + observedGeneration: |
| 98 | + description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. |
| 99 | + format: int64 |
| 100 | + minimum: 0 |
| 101 | + type: integer |
| 102 | + reason: |
| 103 | + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. |
| 104 | + maxLength: 1024 |
| 105 | + minLength: 1 |
| 106 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 107 | + type: string |
| 108 | + status: |
| 109 | + description: status of the condition, one of True, False, Unknown. |
| 110 | + enum: |
| 111 | + - "True" |
| 112 | + - "False" |
| 113 | + - Unknown |
| 114 | + type: string |
| 115 | + type: |
| 116 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) |
| 117 | + maxLength: 316 |
| 118 | + 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])$ |
| 119 | + type: string |
| 120 | + required: |
| 121 | + - lastTransitionTime |
| 122 | + - message |
| 123 | + - reason |
| 124 | + - status |
| 125 | + - type |
| 126 | + type: object |
| 127 | + type: array |
| 128 | + type: object |
| 129 | + type: object |
| 130 | + served: true |
| 131 | + storage: true |
0 commit comments