sigs.k8s.io/kueue@v0.6.2/charts/kueue/templates/crd/kueue.x-k8s.io_multikueueclusters.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      {{- if .Values.enableCertManager }}
     7      cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "kueue.fullname" . }}-serving-cert
     8      {{- end }}
     9      controller-gen.kubebuilder.io/version: v0.14.0
    10    name: multikueueclusters.kueue.x-k8s.io
    11  spec:
    12    conversion:
    13      strategy: Webhook
    14      webhook:
    15        clientConfig:
    16          service:
    17            name: {{ include "kueue.fullname" . }}-webhook-service
    18            namespace: '{{ .Release.Namespace }}'
    19            path: /convert
    20        conversionReviewVersions:
    21        - v1
    22    group: kueue.x-k8s.io
    23    names:
    24      kind: MultiKueueCluster
    25      listKind: MultiKueueClusterList
    26      plural: multikueueclusters
    27      singular: multikueuecluster
    28    scope: Cluster
    29    versions:
    30    - name: v1alpha1
    31      schema:
    32        openAPIV3Schema:
    33          description: MultiKueueCluster is the Schema for the multikueue API
    34          properties:
    35            apiVersion:
    36              description: |-
    37                APIVersion defines the versioned schema of this representation of an object.
    38                Servers should convert recognized schemas to the latest internal value, and
    39                may reject unrecognized values.
    40                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    41              type: string
    42            kind:
    43              description: |-
    44                Kind is a string value representing the REST resource this object represents.
    45                Servers may infer this from the endpoint the client submits requests to.
    46                Cannot be updated.
    47                In CamelCase.
    48                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    49              type: string
    50            metadata:
    51              type: object
    52            spec:
    53              properties:
    54                kubeConfig:
    55                  description: Information how to connect to the cluster.
    56                  properties:
    57                    location:
    58                      description: |-
    59                        Location of the KubeConfig.
    60  
    61  
    62                        If LocationType is Secret then Location is the name of the secret inside the namespace in
    63                        which the kueue controller manager is running. The config should be stored in the "kubeconfig" key.
    64                      type: string
    65                    locationType:
    66                      default: Secret
    67                      description: Type of the KubeConfig location.
    68                      enum:
    69                      - Secret
    70                      - Path
    71                      type: string
    72                  required:
    73                  - location
    74                  - locationType
    75                  type: object
    76              required:
    77              - kubeConfig
    78              type: object
    79            status:
    80              properties:
    81                conditions:
    82                  items:
    83                    description: "Condition contains details for one aspect of the current
    84                      state of this API Resource.\n---\nThis struct is intended for
    85                      direct use as an array at the field path .status.conditions.  For
    86                      example,\n\n\n\ttype FooStatus struct{\n\t    // Represents the
    87                      observations of a foo's current state.\n\t    // Known .status.conditions.type
    88                      are: \"Available\", \"Progressing\", and \"Degraded\"\n\t    //
    89                      +patchMergeKey=type\n\t    // +patchStrategy=merge\n\t    // +listType=map\n\t
    90                      \   // +listMapKey=type\n\t    Conditions []metav1.Condition `json:\"conditions,omitempty\"
    91                      patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
    92                      \   // other fields\n\t}"
    93                    properties:
    94                      lastTransitionTime:
    95                        description: |-
    96                          lastTransitionTime is the last time the condition transitioned from one status to another.
    97                          This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
    98                        format: date-time
    99                        type: string
   100                      message:
   101                        description: |-
   102                          message is a human readable message indicating details about the transition.
   103                          This may be an empty string.
   104                        maxLength: 32768
   105                        type: string
   106                      observedGeneration:
   107                        description: |-
   108                          observedGeneration represents the .metadata.generation that the condition was set based upon.
   109                          For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
   110                          with respect to the current state of the instance.
   111                        format: int64
   112                        minimum: 0
   113                        type: integer
   114                      reason:
   115                        description: |-
   116                          reason contains a programmatic identifier indicating the reason for the condition's last transition.
   117                          Producers of specific condition types may define expected values and meanings for this field,
   118                          and whether the values are considered a guaranteed API.
   119                          The value should be a CamelCase string.
   120                          This field may not be empty.
   121                        maxLength: 1024
   122                        minLength: 1
   123                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   124                        type: string
   125                      status:
   126                        description: status of the condition, one of True, False, Unknown.
   127                        enum:
   128                        - "True"
   129                        - "False"
   130                        - Unknown
   131                        type: string
   132                      type:
   133                        description: |-
   134                          type of condition in CamelCase or in foo.example.com/CamelCase.
   135                          ---
   136                          Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
   137                          useful (see .node.status.conditions), the ability to deconflict is important.
   138                          The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   139                        maxLength: 316
   140                        pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   141                        type: string
   142                    required:
   143                    - lastTransitionTime
   144                    - message
   145                    - reason
   146                    - status
   147                    - type
   148                    type: object
   149                  type: array
   150                  x-kubernetes-list-map-keys:
   151                  - type
   152                  x-kubernetes-list-type: map
   153              type: object
   154          type: object
   155      served: true
   156      storage: true
   157      subresources:
   158        status: {}