k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/community/kubermatic.k8c.io_mlarulegroups.yaml (about)

     1  # This file has been generated by hack/update-codegen.sh, DO NOT EDIT.
     2  
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.12.0
     8    name: mlarulegroups.kubermatic.k8c.io
     9  spec:
    10    group: kubermatic.k8c.io
    11    names:
    12      kind: MLARuleGroup
    13      listKind: MLARuleGroupList
    14      plural: mlarulegroups
    15      singular: mlarulegroup
    16    scope: Cluster
    17    versions:
    18      - additionalPrinterColumns:
    19          - jsonPath: .spec.cluster.name
    20            name: Cluster
    21            type: string
    22          - jsonPath: .metadata.creationTimestamp
    23            name: Age
    24            type: date
    25        name: v1
    26        schema:
    27          openAPIV3Schema:
    28            properties:
    29              apiVersion:
    30                description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    31                type: string
    32              kind:
    33                description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    34                type: string
    35              metadata:
    36                type: object
    37              spec:
    38                properties:
    39                  cluster:
    40                    description: Cluster is the reference to the cluster the ruleGroup should be created in.
    41                    properties:
    42                      name:
    43                        description: Name of the Cluster object.
    44                        type: string
    45                    required:
    46                      - name
    47                    type: object
    48                  data:
    49                    description: 'Data contains the RuleGroup data. Ref: https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/#rule_group'
    50                    format: byte
    51                    type: string
    52                  isDefault:
    53                    description: IsDefault indicates whether the ruleGroup is the default.
    54                    type: boolean
    55                  ruleGroupType:
    56                    description: Type is the type of this ruleGroup applies to.
    57                    enum:
    58                      - Metrics
    59                      - Logs
    60                    type: string
    61                required:
    62                  - cluster
    63                  - data
    64                  - ruleGroupType
    65                type: object
    66            type: object
    67        served: true
    68        storage: true
    69        subresources: {}