sigs.k8s.io/cluster-api@v1.7.1/config/crd/bases/addons.cluster.x-k8s.io_clusterresourcesets.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.14.0
     7    name: clusterresourcesets.addons.cluster.x-k8s.io
     8  spec:
     9    group: addons.cluster.x-k8s.io
    10    names:
    11      categories:
    12      - cluster-api
    13      kind: ClusterResourceSet
    14      listKind: ClusterResourceSetList
    15      plural: clusterresourcesets
    16      singular: clusterresourceset
    17    scope: Namespaced
    18    versions:
    19    - deprecated: true
    20      name: v1alpha3
    21      schema:
    22        openAPIV3Schema:
    23          description: |-
    24            ClusterResourceSet is the Schema for the clusterresourcesets API.
    25  
    26  
    27            Deprecated: This type will be removed in one of the next releases.
    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: ClusterResourceSetSpec defines the desired state of ClusterResourceSet.
    48              properties:
    49                clusterSelector:
    50                  description: |-
    51                    Label selector for Clusters. The Clusters that are
    52                    selected by this will be the ones affected by this ClusterResourceSet.
    53                    It must match the Cluster labels. This field is immutable.
    54                  properties:
    55                    matchExpressions:
    56                      description: matchExpressions is a list of label selector requirements.
    57                        The requirements are ANDed.
    58                      items:
    59                        description: |-
    60                          A label selector requirement is a selector that contains values, a key, and an operator that
    61                          relates the key and values.
    62                        properties:
    63                          key:
    64                            description: key is the label key that the selector applies
    65                              to.
    66                            type: string
    67                          operator:
    68                            description: |-
    69                              operator represents a key's relationship to a set of values.
    70                              Valid operators are In, NotIn, Exists and DoesNotExist.
    71                            type: string
    72                          values:
    73                            description: |-
    74                              values is an array of string values. If the operator is In or NotIn,
    75                              the values array must be non-empty. If the operator is Exists or DoesNotExist,
    76                              the values array must be empty. This array is replaced during a strategic
    77                              merge patch.
    78                            items:
    79                              type: string
    80                            type: array
    81                        required:
    82                        - key
    83                        - operator
    84                        type: object
    85                      type: array
    86                    matchLabels:
    87                      additionalProperties:
    88                        type: string
    89                      description: |-
    90                        matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
    91                        map is equivalent to an element of matchExpressions, whose key field is "key", the
    92                        operator is "In", and the values array contains only "value". The requirements are ANDed.
    93                      type: object
    94                  type: object
    95                  x-kubernetes-map-type: atomic
    96                resources:
    97                  description: Resources is a list of Secrets/ConfigMaps where each
    98                    contains 1 or more resources to be applied to remote clusters.
    99                  items:
   100                    description: ResourceRef specifies a resource.
   101                    properties:
   102                      kind:
   103                        description: 'Kind of the resource. Supported kinds are: Secrets
   104                          and ConfigMaps.'
   105                        enum:
   106                        - Secret
   107                        - ConfigMap
   108                        type: string
   109                      name:
   110                        description: Name of the resource that is in the same namespace
   111                          with ClusterResourceSet object.
   112                        minLength: 1
   113                        type: string
   114                    required:
   115                    - kind
   116                    - name
   117                    type: object
   118                  type: array
   119                strategy:
   120                  description: Strategy is the strategy to be used during applying resources.
   121                    Defaults to ApplyOnce. This field is immutable.
   122                  enum:
   123                  - ApplyOnce
   124                  type: string
   125              required:
   126              - clusterSelector
   127              type: object
   128            status:
   129              description: ClusterResourceSetStatus defines the observed state of ClusterResourceSet.
   130              properties:
   131                conditions:
   132                  description: Conditions defines current state of the ClusterResourceSet.
   133                  items:
   134                    description: Condition defines an observation of a Cluster API resource
   135                      operational state.
   136                    properties:
   137                      lastTransitionTime:
   138                        description: |-
   139                          Last time the condition transitioned from one status to another.
   140                          This should be when the underlying condition changed. If that is not known, then using the time when
   141                          the API field changed is acceptable.
   142                        format: date-time
   143                        type: string
   144                      message:
   145                        description: |-
   146                          A human readable message indicating details about the transition.
   147                          This field may be empty.
   148                        type: string
   149                      reason:
   150                        description: |-
   151                          The reason for the condition's last transition in CamelCase.
   152                          The specific API may choose whether or not this field is considered a guaranteed API.
   153                          This field may not be empty.
   154                        type: string
   155                      severity:
   156                        description: |-
   157                          Severity provides an explicit classification of Reason code, so the users or machines can immediately
   158                          understand the current situation and act accordingly.
   159                          The Severity field MUST be set only when Status=False.
   160                        type: string
   161                      status:
   162                        description: Status of the condition, one of True, False, Unknown.
   163                        type: string
   164                      type:
   165                        description: |-
   166                          Type of condition in CamelCase or in foo.example.com/CamelCase.
   167                          Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
   168                          can be useful (see .node.status.conditions), the ability to deconflict is important.
   169                        type: string
   170                    required:
   171                    - status
   172                    - type
   173                    type: object
   174                  type: array
   175                observedGeneration:
   176                  description: ObservedGeneration reflects the generation of the most
   177                    recently observed ClusterResourceSet.
   178                  format: int64
   179                  type: integer
   180              type: object
   181          type: object
   182      served: false
   183      storage: false
   184      subresources:
   185        status: {}
   186    - additionalPrinterColumns:
   187      - description: Time duration since creation of ClusterResourceSet
   188        jsonPath: .metadata.creationTimestamp
   189        name: Age
   190        type: date
   191      deprecated: true
   192      name: v1alpha4
   193      schema:
   194        openAPIV3Schema:
   195          description: |-
   196            ClusterResourceSet is the Schema for the clusterresourcesets API.
   197  
   198  
   199            Deprecated: This type will be removed in one of the next releases.
   200          properties:
   201            apiVersion:
   202              description: |-
   203                APIVersion defines the versioned schema of this representation of an object.
   204                Servers should convert recognized schemas to the latest internal value, and
   205                may reject unrecognized values.
   206                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
   207              type: string
   208            kind:
   209              description: |-
   210                Kind is a string value representing the REST resource this object represents.
   211                Servers may infer this from the endpoint the client submits requests to.
   212                Cannot be updated.
   213                In CamelCase.
   214                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
   215              type: string
   216            metadata:
   217              type: object
   218            spec:
   219              description: ClusterResourceSetSpec defines the desired state of ClusterResourceSet.
   220              properties:
   221                clusterSelector:
   222                  description: |-
   223                    Label selector for Clusters. The Clusters that are
   224                    selected by this will be the ones affected by this ClusterResourceSet.
   225                    It must match the Cluster labels. This field is immutable.
   226                    Label selector cannot be empty.
   227                  properties:
   228                    matchExpressions:
   229                      description: matchExpressions is a list of label selector requirements.
   230                        The requirements are ANDed.
   231                      items:
   232                        description: |-
   233                          A label selector requirement is a selector that contains values, a key, and an operator that
   234                          relates the key and values.
   235                        properties:
   236                          key:
   237                            description: key is the label key that the selector applies
   238                              to.
   239                            type: string
   240                          operator:
   241                            description: |-
   242                              operator represents a key's relationship to a set of values.
   243                              Valid operators are In, NotIn, Exists and DoesNotExist.
   244                            type: string
   245                          values:
   246                            description: |-
   247                              values is an array of string values. If the operator is In or NotIn,
   248                              the values array must be non-empty. If the operator is Exists or DoesNotExist,
   249                              the values array must be empty. This array is replaced during a strategic
   250                              merge patch.
   251                            items:
   252                              type: string
   253                            type: array
   254                        required:
   255                        - key
   256                        - operator
   257                        type: object
   258                      type: array
   259                    matchLabels:
   260                      additionalProperties:
   261                        type: string
   262                      description: |-
   263                        matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
   264                        map is equivalent to an element of matchExpressions, whose key field is "key", the
   265                        operator is "In", and the values array contains only "value". The requirements are ANDed.
   266                      type: object
   267                  type: object
   268                  x-kubernetes-map-type: atomic
   269                resources:
   270                  description: Resources is a list of Secrets/ConfigMaps where each
   271                    contains 1 or more resources to be applied to remote clusters.
   272                  items:
   273                    description: ResourceRef specifies a resource.
   274                    properties:
   275                      kind:
   276                        description: 'Kind of the resource. Supported kinds are: Secrets
   277                          and ConfigMaps.'
   278                        enum:
   279                        - Secret
   280                        - ConfigMap
   281                        type: string
   282                      name:
   283                        description: Name of the resource that is in the same namespace
   284                          with ClusterResourceSet object.
   285                        minLength: 1
   286                        type: string
   287                    required:
   288                    - kind
   289                    - name
   290                    type: object
   291                  type: array
   292                strategy:
   293                  description: Strategy is the strategy to be used during applying resources.
   294                    Defaults to ApplyOnce. This field is immutable.
   295                  enum:
   296                  - ApplyOnce
   297                  type: string
   298              required:
   299              - clusterSelector
   300              type: object
   301            status:
   302              description: ClusterResourceSetStatus defines the observed state of ClusterResourceSet.
   303              properties:
   304                conditions:
   305                  description: Conditions defines current state of the ClusterResourceSet.
   306                  items:
   307                    description: Condition defines an observation of a Cluster API resource
   308                      operational state.
   309                    properties:
   310                      lastTransitionTime:
   311                        description: |-
   312                          Last time the condition transitioned from one status to another.
   313                          This should be when the underlying condition changed. If that is not known, then using the time when
   314                          the API field changed is acceptable.
   315                        format: date-time
   316                        type: string
   317                      message:
   318                        description: |-
   319                          A human readable message indicating details about the transition.
   320                          This field may be empty.
   321                        type: string
   322                      reason:
   323                        description: |-
   324                          The reason for the condition's last transition in CamelCase.
   325                          The specific API may choose whether or not this field is considered a guaranteed API.
   326                          This field may not be empty.
   327                        type: string
   328                      severity:
   329                        description: |-
   330                          Severity provides an explicit classification of Reason code, so the users or machines can immediately
   331                          understand the current situation and act accordingly.
   332                          The Severity field MUST be set only when Status=False.
   333                        type: string
   334                      status:
   335                        description: Status of the condition, one of True, False, Unknown.
   336                        type: string
   337                      type:
   338                        description: |-
   339                          Type of condition in CamelCase or in foo.example.com/CamelCase.
   340                          Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
   341                          can be useful (see .node.status.conditions), the ability to deconflict is important.
   342                        type: string
   343                    required:
   344                    - status
   345                    - type
   346                    type: object
   347                  type: array
   348                observedGeneration:
   349                  description: ObservedGeneration reflects the generation of the most
   350                    recently observed ClusterResourceSet.
   351                  format: int64
   352                  type: integer
   353              type: object
   354          type: object
   355      served: false
   356      storage: false
   357      subresources:
   358        status: {}
   359    - additionalPrinterColumns:
   360      - description: Time duration since creation of ClusterResourceSet
   361        jsonPath: .metadata.creationTimestamp
   362        name: Age
   363        type: date
   364      name: v1beta1
   365      schema:
   366        openAPIV3Schema:
   367          description: ClusterResourceSet is the Schema for the clusterresourcesets
   368            API.
   369          properties:
   370            apiVersion:
   371              description: |-
   372                APIVersion defines the versioned schema of this representation of an object.
   373                Servers should convert recognized schemas to the latest internal value, and
   374                may reject unrecognized values.
   375                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
   376              type: string
   377            kind:
   378              description: |-
   379                Kind is a string value representing the REST resource this object represents.
   380                Servers may infer this from the endpoint the client submits requests to.
   381                Cannot be updated.
   382                In CamelCase.
   383                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
   384              type: string
   385            metadata:
   386              type: object
   387            spec:
   388              description: ClusterResourceSetSpec defines the desired state of ClusterResourceSet.
   389              properties:
   390                clusterSelector:
   391                  description: |-
   392                    Label selector for Clusters. The Clusters that are
   393                    selected by this will be the ones affected by this ClusterResourceSet.
   394                    It must match the Cluster labels. This field is immutable.
   395                    Label selector cannot be empty.
   396                  properties:
   397                    matchExpressions:
   398                      description: matchExpressions is a list of label selector requirements.
   399                        The requirements are ANDed.
   400                      items:
   401                        description: |-
   402                          A label selector requirement is a selector that contains values, a key, and an operator that
   403                          relates the key and values.
   404                        properties:
   405                          key:
   406                            description: key is the label key that the selector applies
   407                              to.
   408                            type: string
   409                          operator:
   410                            description: |-
   411                              operator represents a key's relationship to a set of values.
   412                              Valid operators are In, NotIn, Exists and DoesNotExist.
   413                            type: string
   414                          values:
   415                            description: |-
   416                              values is an array of string values. If the operator is In or NotIn,
   417                              the values array must be non-empty. If the operator is Exists or DoesNotExist,
   418                              the values array must be empty. This array is replaced during a strategic
   419                              merge patch.
   420                            items:
   421                              type: string
   422                            type: array
   423                        required:
   424                        - key
   425                        - operator
   426                        type: object
   427                      type: array
   428                    matchLabels:
   429                      additionalProperties:
   430                        type: string
   431                      description: |-
   432                        matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
   433                        map is equivalent to an element of matchExpressions, whose key field is "key", the
   434                        operator is "In", and the values array contains only "value". The requirements are ANDed.
   435                      type: object
   436                  type: object
   437                  x-kubernetes-map-type: atomic
   438                resources:
   439                  description: Resources is a list of Secrets/ConfigMaps where each
   440                    contains 1 or more resources to be applied to remote clusters.
   441                  items:
   442                    description: ResourceRef specifies a resource.
   443                    properties:
   444                      kind:
   445                        description: 'Kind of the resource. Supported kinds are: Secrets
   446                          and ConfigMaps.'
   447                        enum:
   448                        - Secret
   449                        - ConfigMap
   450                        type: string
   451                      name:
   452                        description: Name of the resource that is in the same namespace
   453                          with ClusterResourceSet object.
   454                        minLength: 1
   455                        type: string
   456                    required:
   457                    - kind
   458                    - name
   459                    type: object
   460                  type: array
   461                strategy:
   462                  description: Strategy is the strategy to be used during applying resources.
   463                    Defaults to ApplyOnce. This field is immutable.
   464                  enum:
   465                  - ApplyOnce
   466                  - Reconcile
   467                  type: string
   468              required:
   469              - clusterSelector
   470              type: object
   471            status:
   472              description: ClusterResourceSetStatus defines the observed state of ClusterResourceSet.
   473              properties:
   474                conditions:
   475                  description: Conditions defines current state of the ClusterResourceSet.
   476                  items:
   477                    description: Condition defines an observation of a Cluster API resource
   478                      operational state.
   479                    properties:
   480                      lastTransitionTime:
   481                        description: |-
   482                          Last time the condition transitioned from one status to another.
   483                          This should be when the underlying condition changed. If that is not known, then using the time when
   484                          the API field changed is acceptable.
   485                        format: date-time
   486                        type: string
   487                      message:
   488                        description: |-
   489                          A human readable message indicating details about the transition.
   490                          This field may be empty.
   491                        type: string
   492                      reason:
   493                        description: |-
   494                          The reason for the condition's last transition in CamelCase.
   495                          The specific API may choose whether or not this field is considered a guaranteed API.
   496                          This field may not be empty.
   497                        type: string
   498                      severity:
   499                        description: |-
   500                          Severity provides an explicit classification of Reason code, so the users or machines can immediately
   501                          understand the current situation and act accordingly.
   502                          The Severity field MUST be set only when Status=False.
   503                        type: string
   504                      status:
   505                        description: Status of the condition, one of True, False, Unknown.
   506                        type: string
   507                      type:
   508                        description: |-
   509                          Type of condition in CamelCase or in foo.example.com/CamelCase.
   510                          Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
   511                          can be useful (see .node.status.conditions), the ability to deconflict is important.
   512                        type: string
   513                    required:
   514                    - lastTransitionTime
   515                    - status
   516                    - type
   517                    type: object
   518                  type: array
   519                observedGeneration:
   520                  description: ObservedGeneration reflects the generation of the most
   521                    recently observed ClusterResourceSet.
   522                  format: int64
   523                  type: integer
   524              type: object
   525          type: object
   526      served: true
   527      storage: true
   528      subresources:
   529        status: {}