github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-cluster-agent/crds/clusters.verrazzano.io_multiclusterconfigmaps.yaml (about)

     1  # Copyright (c) 2021, 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: multiclusterconfigmaps.clusters.verrazzano.io
    11  spec:
    12    group: clusters.verrazzano.io
    13    names:
    14      kind: MultiClusterConfigMap
    15      listKind: MultiClusterConfigMapList
    16      plural: multiclusterconfigmaps
    17      shortNames:
    18      - mccm
    19      - mccms
    20      singular: multiclusterconfigmap
    21    scope: Namespaced
    22    versions:
    23    - deprecated: true
    24      deprecationWarning: clusters.verrazzano.io/v1alpha1 MultiClusterConfigMap is deprecated
    25        and will be removed in v2.0.0. See https://verrazzano.io/v1.5/docs/reference/migration/#multicluster.
    26      name: v1alpha1
    27      schema:
    28        openAPIV3Schema:
    29          description: MultiClusterConfigMap specifies the MultiCluster ConfigMap API.
    30          properties:
    31            apiVersion:
    32              description: 'APIVersion defines the versioned schema of this representation
    33                of an object. Servers should convert recognized schemas to the latest
    34                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    35              type: string
    36            kind:
    37              description: 'Kind is a string value representing the REST resource this
    38                object represents. Servers may infer this from the endpoint the client
    39                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    40              type: string
    41            metadata:
    42              type: object
    43            spec:
    44              description: The desired state of a MultiCluster ConfigMap resource.
    45              properties:
    46                placement:
    47                  description: Clusters in which the ConfigMap is to be created.
    48                  properties:
    49                    clusters:
    50                      description: List of clusters.
    51                      items:
    52                        description: Cluster contains the name of a single cluster.
    53                        properties:
    54                          name:
    55                            description: The name of a cluster.
    56                            type: string
    57                        required:
    58                        - name
    59                        type: object
    60                      type: array
    61                  required:
    62                  - clusters
    63                  type: object
    64                template:
    65                  description: The embedded Kubernetes ConfigMap.
    66                  properties:
    67                    binaryData:
    68                      additionalProperties:
    69                        format: byte
    70                        type: string
    71                      description: Corresponds to the `binaryData` field of the `struct`
    72                        ConfigMap defined in <a href="https://github.com/kubernetes/api/blob/master/core/v1/types.go">types.go</a>.
    73                      type: object
    74                    data:
    75                      additionalProperties:
    76                        type: string
    77                      description: Corresponds to the `data` field of the `struct` ConfigMap
    78                        defined in <a href="https://github.com/kubernetes/api/blob/master/core/v1/types.go">types.go</a>.
    79                      type: object
    80                    immutable:
    81                      description: Corresponds to the `immutable` field of the `struct`
    82                        ConfigMap defined in <a href="https://github.com/kubernetes/api/blob/master/core/v1/types.go">types.go</a>.
    83                      type: boolean
    84                    metadata:
    85                      description: Metadata describing the ConfigMap.
    86                      properties:
    87                        annotations:
    88                          additionalProperties:
    89                            type: string
    90                          description: Annotations for the resource.
    91                          type: object
    92                        labels:
    93                          additionalProperties:
    94                            type: string
    95                          description: Labels for the resource.
    96                          type: object
    97                        name:
    98                          description: Name of the resource.
    99                          type: string
   100                        namespace:
   101                          description: Namespace of the resource.
   102                          type: string
   103                      type: object
   104                  type: object
   105              required:
   106              - placement
   107              - template
   108              type: object
   109            status:
   110              description: The observed state of a MultiCluster ConfigMap resource.
   111              properties:
   112                clusters:
   113                  description: Status information for each cluster.
   114                  items:
   115                    description: ClusterLevelStatus describes the status of the multicluster
   116                      resource in a specific cluster.
   117                    properties:
   118                      lastUpdateTime:
   119                        description: Last update time of the resource state in this
   120                          cluster.
   121                        type: string
   122                      message:
   123                        description: Message details about the status in this cluster.
   124                        type: string
   125                      name:
   126                        description: Name of the cluster.
   127                        type: string
   128                      state:
   129                        description: State of the resource in this cluster.
   130                        type: string
   131                    required:
   132                    - lastUpdateTime
   133                    - name
   134                    - state
   135                    type: object
   136                  type: array
   137                conditions:
   138                  description: The current state of a multicluster resource.
   139                  items:
   140                    description: Condition describes current state of a multicluster
   141                      resource.
   142                    properties:
   143                      lastTransitionTime:
   144                        description: Last time the condition transitioned from one status
   145                          to another.
   146                        type: string
   147                      message:
   148                        description: A message with details about the last transition.
   149                        type: string
   150                      status:
   151                        description: 'Status of the condition: one of `True`, `False`,
   152                          or `Unknown`.'
   153                        type: string
   154                      type:
   155                        description: Type of condition.
   156                        type: string
   157                    required:
   158                    - status
   159                    - type
   160                    type: object
   161                  type: array
   162                state:
   163                  description: 'The state of the multicluster resource. State values
   164                    are case-sensitive and formatted as follows: <ul><li>`Failed`: deployment
   165                    to cluster failed</li><li>`Pending`: deployment to cluster is in
   166                    progress</li><li>`Succeeded`: deployment to cluster successfully
   167                    completed</li></ul>'
   168                  type: string
   169              type: object
   170          type: object
   171      served: true
   172      storage: true
   173      subresources:
   174        status: {}