|
| 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: kubeclusters.contrib.kcp.io |
| 8 | +spec: |
| 9 | + group: contrib.kcp.io |
| 10 | + names: |
| 11 | + kind: KubeCluster |
| 12 | + listKind: KubeClusterList |
| 13 | + plural: kubeclusters |
| 14 | + singular: kubecluster |
| 15 | + scope: Cluster |
| 16 | + versions: |
| 17 | + - additionalPrinterColumns: |
| 18 | + - jsonPath: .status.conditions[?(@.type=="KubeClusterReady")].status |
| 19 | + name: Ready |
| 20 | + type: string |
| 21 | + - jsonPath: .status.phase |
| 22 | + name: Phase |
| 23 | + type: string |
| 24 | + name: v1alpha1 |
| 25 | + schema: |
| 26 | + openAPIV3Schema: |
| 27 | + description: KubeCluster describes the current KubeCluster proxy object. |
| 28 | + properties: |
| 29 | + apiVersion: |
| 30 | + description: |- |
| 31 | + APIVersion defines the versioned schema of this representation of an object. |
| 32 | + Servers should convert recognized schemas to the latest internal value, and |
| 33 | + may reject unrecognized values. |
| 34 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 35 | + type: string |
| 36 | + kind: |
| 37 | + description: |- |
| 38 | + Kind is a string value representing the REST resource this object represents. |
| 39 | + Servers may infer this from the endpoint the client submits requests to. |
| 40 | + Cannot be updated. |
| 41 | + In CamelCase. |
| 42 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 43 | + type: string |
| 44 | + metadata: |
| 45 | + type: object |
| 46 | + spec: |
| 47 | + description: KubeClusterSpec is the specification of the Kube cluster |
| 48 | + proxy resource. |
| 49 | + properties: |
| 50 | + workspaceURL: |
| 51 | + description: workspaceURL is the address under which the workspace |
| 52 | + can be found. |
| 53 | + type: string |
| 54 | + type: object |
| 55 | + status: |
| 56 | + description: KubeClusterStatus communicates the observed state of the |
| 57 | + Kube cluster proxy. |
| 58 | + properties: |
| 59 | + URL: |
| 60 | + description: |- |
| 61 | + url is the address under which the Kubernetes-cluster-like endpoint |
| 62 | + can be found. This URL can be used to access the cluster with standard Kubernetes |
| 63 | + client libraries and command line tools via proxy. |
| 64 | + type: string |
| 65 | + conditions: |
| 66 | + description: Current processing state of the Cluster proxy. |
| 67 | + items: |
| 68 | + description: Condition defines an observation of a object operational |
| 69 | + state. |
| 70 | + properties: |
| 71 | + lastTransitionTime: |
| 72 | + description: |- |
| 73 | + Last time the condition transitioned from one status to another. |
| 74 | + This should be when the underlying condition changed. If that is not known, then using the time when |
| 75 | + the API field changed is acceptable. |
| 76 | + format: date-time |
| 77 | + type: string |
| 78 | + message: |
| 79 | + description: |- |
| 80 | + A human readable message indicating details about the transition. |
| 81 | + This field may be empty. |
| 82 | + type: string |
| 83 | + reason: |
| 84 | + description: |- |
| 85 | + The reason for the condition's last transition in CamelCase. |
| 86 | + The specific API may choose whether or not this field is considered a guaranteed API. |
| 87 | + This field may not be empty. |
| 88 | + type: string |
| 89 | + severity: |
| 90 | + description: |- |
| 91 | + Severity provides an explicit classification of Reason code, so the users or machines can immediately |
| 92 | + understand the current situation and act accordingly. |
| 93 | + The Severity field MUST be set only when Status=False. |
| 94 | + type: string |
| 95 | + status: |
| 96 | + description: Status of the condition, one of True, False, Unknown. |
| 97 | + type: string |
| 98 | + type: |
| 99 | + description: |- |
| 100 | + Type of condition in CamelCase or in foo.example.com/CamelCase. |
| 101 | + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions |
| 102 | + can be useful (see .node.status.conditions), the ability to deconflict is important. |
| 103 | + type: string |
| 104 | + required: |
| 105 | + - lastTransitionTime |
| 106 | + - status |
| 107 | + - type |
| 108 | + type: object |
| 109 | + type: array |
| 110 | + lastProxyHeartbeatTime: |
| 111 | + description: A timestamp indicating when the proxy last reported status. |
| 112 | + format: date-time |
| 113 | + type: string |
| 114 | + phase: |
| 115 | + default: Initializing |
| 116 | + description: Phase of the cluster proxy (Initializing, Ready). |
| 117 | + enum: |
| 118 | + - Initializing |
| 119 | + - Connecting |
| 120 | + - Ready |
| 121 | + - Unknown |
| 122 | + type: string |
| 123 | + tunnelWorkspaces: |
| 124 | + description: |- |
| 125 | + TunnelWorkspaces contains all URLs (one per shard) that is being used |
| 126 | + by the proxy to connect to the tunnel for a given shard. |
| 127 | + items: |
| 128 | + properties: |
| 129 | + url: |
| 130 | + description: |- |
| 131 | + url is the URL the Proxy should use to connect |
| 132 | + to the Proxy tunnel for a given shard. |
| 133 | + minLength: 1 |
| 134 | + type: string |
| 135 | + required: |
| 136 | + - url |
| 137 | + type: object |
| 138 | + type: array |
| 139 | + type: object |
| 140 | + type: object |
| 141 | + served: true |
| 142 | + storage: true |
| 143 | + subresources: |
| 144 | + status: {} |
0 commit comments