github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-cluster-agent/crds/clusters.verrazzano.io_multiclustersecrets.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: multiclustersecrets.clusters.verrazzano.io
    11  spec:
    12    group: clusters.verrazzano.io
    13    names:
    14      kind: MultiClusterSecret
    15      listKind: MultiClusterSecretList
    16      plural: multiclustersecrets
    17      shortNames:
    18      - mcsecret
    19      - mcsecrets
    20      singular: multiclustersecret
    21    scope: Namespaced
    22    versions:
    23    - deprecated: true
    24      deprecationWarning: clusters.verrazzano.io/v1alpha1 MultiClusterSecret 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: MultiClusterSecret specifies the MultiCluster Secret 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 Secret resource.
    45              properties:
    46                placement:
    47                  description: Clusters in which the secret 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 secret.
    66                  properties:
    67                    data:
    68                      additionalProperties:
    69                        format: byte
    70                        type: string
    71                      description: Corresponds to the data field of the struct Secret
    72                        defined in <a href="https://github.com/kubernetes/api/blob/master/core/v1/types.go">types.go</a>.
    73                      type: object
    74                    metadata:
    75                      description: Metadata describing the secret.
    76                      properties:
    77                        annotations:
    78                          additionalProperties:
    79                            type: string
    80                          description: Annotations for the resource.
    81                          type: object
    82                        labels:
    83                          additionalProperties:
    84                            type: string
    85                          description: Labels for the resource.
    86                          type: object
    87                        name:
    88                          description: Name of the resource.
    89                          type: string
    90                        namespace:
    91                          description: Namespace of the resource.
    92                          type: string
    93                      type: object
    94                    stringData:
    95                      additionalProperties:
    96                        type: string
    97                      description: Corresponds to the `stringData` field of the `struct`
    98                        Secret defined in <a href="https://github.com/kubernetes/api/blob/master/core/v1/types.go">types.go</a>.
    99                      type: object
   100                    type:
   101                      description: The type of secret.
   102                      type: string
   103                  type: object
   104              required:
   105              - placement
   106              - template
   107              type: object
   108            status:
   109              description: The observed state of a MultiCluster Secret resource.
   110              properties:
   111                clusters:
   112                  description: Status information for each cluster.
   113                  items:
   114                    description: ClusterLevelStatus describes the status of the multicluster
   115                      resource in a specific cluster.
   116                    properties:
   117                      lastUpdateTime:
   118                        description: Last update time of the resource state in this
   119                          cluster.
   120                        type: string
   121                      message:
   122                        description: Message details about the status in this cluster.
   123                        type: string
   124                      name:
   125                        description: Name of the cluster.
   126                        type: string
   127                      state:
   128                        description: State of the resource in this cluster.
   129                        type: string
   130                    required:
   131                    - lastUpdateTime
   132                    - name
   133                    - state
   134                    type: object
   135                  type: array
   136                conditions:
   137                  description: The current state of a multicluster resource.
   138                  items:
   139                    description: Condition describes current state of a multicluster
   140                      resource.
   141                    properties:
   142                      lastTransitionTime:
   143                        description: Last time the condition transitioned from one status
   144                          to another.
   145                        type: string
   146                      message:
   147                        description: A message with details about the last transition.
   148                        type: string
   149                      status:
   150                        description: 'Status of the condition: one of `True`, `False`,
   151                          or `Unknown`.'
   152                        type: string
   153                      type:
   154                        description: Type of condition.
   155                        type: string
   156                    required:
   157                    - status
   158                    - type
   159                    type: object
   160                  type: array
   161                state:
   162                  description: 'The state of the multicluster resource. State values
   163                    are case-sensitive and formatted as follows: <ul><li>`Failed`: deployment
   164                    to cluster failed</li><li>`Pending`: deployment to cluster is in
   165                    progress</li><li>`Succeeded`: deployment to cluster successfully
   166                    completed</li></ul>'
   167                  type: string
   168              type: object
   169          type: object
   170      served: true
   171      storage: true
   172      subresources:
   173        status: {}