|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + labels: |
| 5 | + app.kubernetes.io/name: ace |
| 6 | + kube-bind.appscode.com/exported: "true" |
| 7 | + name: gatewaypresets.gateway.catalog.appscode.com |
| 8 | +spec: |
| 9 | + group: gateway.catalog.appscode.com |
| 10 | + names: |
| 11 | + kind: GatewayPreset |
| 12 | + listKind: GatewayPresetList |
| 13 | + plural: gatewaypresets |
| 14 | + singular: gatewaypreset |
| 15 | + scope: Namespaced |
| 16 | + versions: |
| 17 | + - name: v1alpha1 |
| 18 | + schema: |
| 19 | + openAPIV3Schema: |
| 20 | + description: GatewayPreset is the Schema for the gatewaypresets API. |
| 21 | + properties: |
| 22 | + apiVersion: |
| 23 | + description: 'APIVersion defines the versioned schema of this representation |
| 24 | + of an object. Servers should convert recognized schemas to the latest |
| 25 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 26 | + type: string |
| 27 | + kind: |
| 28 | + description: 'Kind is a string value representing the REST resource this |
| 29 | + object represents. Servers may infer this from the endpoint the client |
| 30 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 31 | + type: string |
| 32 | + metadata: |
| 33 | + type: object |
| 34 | + spec: |
| 35 | + description: GatewayPresetSpec defines the desired state of GatewayPreset. |
| 36 | + properties: |
| 37 | + parametersRef: |
| 38 | + description: TypedObjectReference represents an typed namespaced object. |
| 39 | + properties: |
| 40 | + apiGroup: |
| 41 | + type: string |
| 42 | + kind: |
| 43 | + type: string |
| 44 | + name: |
| 45 | + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' |
| 46 | + type: string |
| 47 | + namespace: |
| 48 | + description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' |
| 49 | + type: string |
| 50 | + required: |
| 51 | + - name |
| 52 | + type: object |
| 53 | + type: object |
| 54 | + status: |
| 55 | + description: GatewayPresetStatus defines the observed state of GatewayPreset. |
| 56 | + properties: |
| 57 | + conditions: |
| 58 | + items: |
| 59 | + description: Condition defines an observation of a object operational |
| 60 | + state. |
| 61 | + properties: |
| 62 | + lastTransitionTime: |
| 63 | + description: Last time the condition transitioned from one status |
| 64 | + to another. This should be when the underlying condition changed. |
| 65 | + If that is not known, then using the time when the API field |
| 66 | + changed is acceptable. |
| 67 | + format: date-time |
| 68 | + type: string |
| 69 | + message: |
| 70 | + description: A human-readable message indicating details about |
| 71 | + the transition. This field may be empty. |
| 72 | + type: string |
| 73 | + observedGeneration: |
| 74 | + description: If set, this represents the .metadata.generation |
| 75 | + that the condition was set based upon. For instance, if .metadata.generation |
| 76 | + is currently 12, but the .status.condition[x].observedGeneration |
| 77 | + is 9, the condition is out of date with respect to the current |
| 78 | + state of the instance. |
| 79 | + format: int64 |
| 80 | + type: integer |
| 81 | + reason: |
| 82 | + description: The reason for the condition's last transition |
| 83 | + in CamelCase. The specific API may choose whether this field |
| 84 | + is considered a guaranteed API. This field may not be empty. |
| 85 | + type: string |
| 86 | + severity: |
| 87 | + description: Severity provides an explicit classification of |
| 88 | + Reason code, so the users or machines can immediately understand |
| 89 | + the current situation and act accordingly. The Severity field |
| 90 | + MUST be set only when Status=False. |
| 91 | + type: string |
| 92 | + status: |
| 93 | + description: Status of the condition, one of True, False, Unknown. |
| 94 | + type: string |
| 95 | + type: |
| 96 | + description: Type of condition in CamelCase or in foo.example.com/CamelCase. |
| 97 | + Many .condition.type values are consistent across resources |
| 98 | + like Available, but because arbitrary util can be useful (see |
| 99 | + .node.status.util), the ability to deconflict is important. |
| 100 | + type: string |
| 101 | + required: |
| 102 | + - lastTransitionTime |
| 103 | + - status |
| 104 | + - type |
| 105 | + type: object |
| 106 | + maxItems: 8 |
| 107 | + type: array |
| 108 | + x-kubernetes-list-map-keys: |
| 109 | + - type |
| 110 | + x-kubernetes-list-type: map |
| 111 | + helmRelease: |
| 112 | + description: HelmRelease is the name of the helm release used to deploy |
| 113 | + this ui The name format is typically <alias>-<db-name> |
| 114 | + properties: |
| 115 | + name: |
| 116 | + default: "" |
| 117 | + description: 'Name of the referent. This field is effectively |
| 118 | + required, but due to backwards compatibility is allowed to be |
| 119 | + empty. Instances of this type with an empty value here are almost |
| 120 | + certainly wrong. TODO: Add other useful fields. apiVersion, |
| 121 | + kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 122 | + TODO: Drop `kubebuilder:default` when controller-gen doesn''t |
| 123 | + need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.' |
| 124 | + type: string |
| 125 | + type: object |
| 126 | + x-kubernetes-map-type: atomic |
| 127 | + phase: |
| 128 | + description: Specifies the current phase of the App |
| 129 | + enum: |
| 130 | + - Pending |
| 131 | + - InProgress |
| 132 | + - Current |
| 133 | + - Failed |
| 134 | + type: string |
| 135 | + type: object |
| 136 | + type: object |
| 137 | + served: true |
| 138 | + storage: true |
| 139 | + subresources: |
| 140 | + status: {} |
0 commit comments