github.com/verrazzano/verrazzano@v1.7.1/platform-operator/helm_config/charts/verrazzano-cluster-operator/crds/clusters.verrazzano.io_verrazzanomanagedclusters.yaml (about) 1 # Copyright (c) 2020, 2023, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 --- 4 apiVersion: apiextensions.k8s.io/v1 5 kind: CustomResourceDefinition 6 metadata: 7 annotations: 8 controller-gen.kubebuilder.io/version: v0.9.2 9 creationTimestamp: null 10 name: verrazzanomanagedclusters.clusters.verrazzano.io 11 spec: 12 group: clusters.verrazzano.io 13 names: 14 kind: VerrazzanoManagedCluster 15 listKind: VerrazzanoManagedClusterList 16 plural: verrazzanomanagedclusters 17 shortNames: 18 - vmc 19 - vmcs 20 singular: verrazzanomanagedcluster 21 scope: Namespaced 22 versions: 23 - name: v1alpha1 24 schema: 25 openAPIV3Schema: 26 description: VerrazzanoManagedCluster specifies the Verrazzano Managed Cluster 27 API. 28 properties: 29 apiVersion: 30 description: 'APIVersion defines the versioned schema of this representation 31 of an object. Servers should convert recognized schemas to the latest 32 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 33 type: string 34 kind: 35 description: 'Kind is a string value representing the REST resource this 36 object represents. Servers may infer this from the endpoint the client 37 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 38 type: string 39 metadata: 40 type: object 41 spec: 42 description: The desired state of a Verrazzano Managed Cluster resource. 43 properties: 44 caSecret: 45 description: The name of a Secret that contains the CA certificate 46 of the managed cluster. This is used to configure the admin cluster 47 to scrape metrics from the Prometheus endpoint on the managed cluster. 48 If Rancher is enabled on the admin cluster, this will be automatically 49 populated by Verrazzano. Otherwise, if you disabled Rancher, see 50 the pre-registration <a href="../../../docs/setup/mc-install/advanced-mc-install/#preregistration-setup">instructions</a> 51 for how to create this Secret. 52 type: string 53 description: 54 description: The description of the managed cluster. 55 type: string 56 managedClusterManifestSecret: 57 description: The name of the Secret containing the generated YAML 58 manifest file to be applied by the user to the managed cluster. 59 This field is managed by a Verrazzano Kubernetes operator. 60 type: string 61 serviceAccount: 62 description: The name of the ServiceAccount that was generated for 63 the managed cluster. This field is managed by a Verrazzano Kubernetes 64 operator. 65 type: string 66 type: object 67 status: 68 description: The observed state of a Verrazzano Managed Cluster resource. 69 properties: 70 apiUrl: 71 description: The Verrazzano API server URL for this managed cluster. 72 type: string 73 argoCDRegistration: 74 description: The state of ArgoCD registration for this managed cluster. 75 properties: 76 lastSetTimestamp: 77 description: The timestamp of last status set. 78 format: date-time 79 type: string 80 message: 81 description: Supporting message related to the Argo CD registration 82 status. 83 type: string 84 status: 85 description: The status of the ArgoCD registration. 86 type: string 87 required: 88 - status 89 type: object 90 clusterRef: 91 description: The reference to this managed cluster's underlying ClusterAPI 92 cluster. 93 properties: 94 apiVersion: 95 description: The API version of the referenced ClusterAPI cluster 96 object. 97 type: string 98 kind: 99 description: The kind of the referenced ClusterAPI cluster object. 100 type: string 101 name: 102 description: The name of the referenced ClusterAPI cluster object. 103 type: string 104 namespace: 105 description: The namespace of the referenced ClusterAPI cluster 106 object. 107 type: string 108 type: object 109 conditions: 110 description: The current state of this managed cluster. 111 items: 112 description: Condition describes a condition that occurred on the 113 Verrazzano Managed Cluster. 114 properties: 115 lastTransitionTime: 116 description: Last time the condition transitioned from one status 117 to another. 118 format: date-time 119 type: string 120 message: 121 description: A message with details about the last transition. 122 type: string 123 status: 124 description: 'Status of the condition: one of `True`, `False`, 125 or `Unknown`.' 126 type: string 127 type: 128 description: 'The condition of the multicluster resource which 129 can be checked with a `kubectl wait` command. Condition values 130 are case-sensitive and formatted as follows: `Ready`: the 131 VerrazzanoManagedCluster is ready to be used and all resources 132 needed have been generated.' 133 type: string 134 required: 135 - status 136 - type 137 type: object 138 type: array 139 imported: 140 description: If true, then this managed cluster was an existing cluster 141 imported into Verrazzano. 142 type: boolean 143 kubernetes: 144 description: The state of Kubernetes information of this managed cluster. 145 properties: 146 version: 147 description: The observed Kubernetes version installed on this 148 cluster. 149 type: string 150 type: object 151 lastAgentConnectTime: 152 description: The last time the agent from this managed cluster connected 153 to the admin cluster. 154 format: date-time 155 type: string 156 prometheusHost: 157 description: The Prometheus host for this managed cluster. 158 type: string 159 provider: 160 description: The provider of this managed cluster. 161 type: string 162 rancherRegistration: 163 description: The state of Rancher registration for this managed cluster. 164 properties: 165 clusterID: 166 description: The Rancher cluster ID for this cluster. 167 type: string 168 message: 169 description: A supporting message related to the Rancher registration 170 status. 171 type: string 172 status: 173 description: The status of the Rancher registration. 174 type: string 175 required: 176 - status 177 type: object 178 state: 179 description: The state of this managed cluster. 180 type: string 181 thanosQueryStore: 182 description: The Thanos Query Store API host name for this managed 183 cluster. 184 type: string 185 verrazzano: 186 description: The state of Verrazzano information of this managed cluster. 187 properties: 188 version: 189 description: The observed Verrazzano version installed on this 190 cluster. 191 type: string 192 type: object 193 required: 194 - state 195 type: object 196 type: object 197 served: true 198 storage: true 199 subresources: 200 status: {}