github.com/verrazzano/verrazzano@v1.7.0/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                kubernetes:
   140                  description: The state of Kubernetes information of this managed cluster.
   141                  properties:
   142                    version:
   143                      description: The observed Kubernetes version installed on this
   144                        cluster.
   145                      type: string
   146                  type: object
   147                lastAgentConnectTime:
   148                  description: The last time the agent from this managed cluster connected
   149                    to the admin cluster.
   150                  format: date-time
   151                  type: string
   152                prometheusHost:
   153                  description: The Prometheus host for this managed cluster.
   154                  type: string
   155                rancherRegistration:
   156                  description: The state of Rancher registration for this managed cluster.
   157                  properties:
   158                    clusterID:
   159                      description: The Rancher cluster ID for this cluster.
   160                      type: string
   161                    message:
   162                      description: A supporting message related to the Rancher registration
   163                        status.
   164                      type: string
   165                    status:
   166                      description: The status of the Rancher registration.
   167                      type: string
   168                  required:
   169                  - status
   170                  type: object
   171                state:
   172                  description: The state of this managed cluster.
   173                  type: string
   174                thanosQueryStore:
   175                  description: The Thanos Query Store API host name for this managed
   176                    cluster.
   177                  type: string
   178                verrazzano:
   179                  description: The state of Verrazzano information of this managed cluster.
   180                  properties:
   181                    version:
   182                      description: The observed Verrazzano version installed on this
   183                        cluster.
   184                      type: string
   185                  type: object
   186              required:
   187              - state
   188              type: object
   189          type: object
   190      served: true
   191      storage: true
   192      subresources:
   193        status: {}