k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/enterprise/seed/kubermatic.k8c.io_constrainttemplates.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: constrainttemplates.kubermatic.k8c.io
     9  spec:
    10    group: kubermatic.k8c.io
    11    names:
    12      categories:
    13        - kkpee
    14      kind: ConstraintTemplate
    15      listKind: ConstraintTemplateList
    16      plural: constrainttemplates
    17      singular: constrainttemplate
    18    scope: Namespaced
    19    versions:
    20      - additionalPrinterColumns:
    21          - jsonPath: .metadata.creationTimestamp
    22            name: Age
    23            type: date
    24        name: v1
    25        schema:
    26          openAPIV3Schema:
    27            description: "ConstraintTemplate is the object representing a kubermatic wrapper for a gatekeeper constraint template. \n Note that this resource is part of a KKP Enterprise feature and is not used in the Community Edition."
    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                description: ConstraintTemplateSpec is the object representing the gatekeeper constraint template spec and kubermatic related spec.
    39                properties:
    40                  crd:
    41                    properties:
    42                      spec:
    43                        properties:
    44                          names:
    45                            properties:
    46                              kind:
    47                                type: string
    48                              shortNames:
    49                                items:
    50                                  type: string
    51                                type: array
    52                            type: object
    53                          validation:
    54                            default:
    55                              legacySchema: false
    56                            properties:
    57                              legacySchema:
    58                                default: false
    59                                type: boolean
    60                              openAPIV3Schema:
    61                                type: object
    62                                x-kubernetes-preserve-unknown-fields: true
    63                            type: object
    64                        type: object
    65                    type: object
    66                  selector:
    67                    description: ConstraintTemplateSelector is the object holding the cluster selection filters.
    68                    properties:
    69                      labelSelector:
    70                        description: LabelSelector selects the Clusters to which the Constraint Template applies based on their labels
    71                        properties:
    72                          matchExpressions:
    73                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
    74                            items:
    75                              description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
    76                              properties:
    77                                key:
    78                                  description: key is the label key that the selector applies to.
    79                                  type: string
    80                                operator:
    81                                  description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    82                                  type: string
    83                                values:
    84                                  description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
    85                                  items:
    86                                    type: string
    87                                  type: array
    88                              required:
    89                                - key
    90                                - operator
    91                              type: object
    92                            type: array
    93                          matchLabels:
    94                            additionalProperties:
    95                              type: string
    96                            description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
    97                            type: object
    98                        type: object
    99                        x-kubernetes-map-type: atomic
   100                      providers:
   101                        description: Providers is a list of cloud providers to which the Constraint Template applies to. Empty means all providers are selected.
   102                        items:
   103                          description: CloudProvider defines the cloud provider where the a cluster's nodes are running. Note that these constants may match the machine-controller's constant, but don't have to. Use the functions in the helper package to translate between the two.
   104                          enum:
   105                            - alibaba
   106                            - anexia
   107                            - aws
   108                            - azure
   109                            - bringyourown
   110                            - digitalocean
   111                            - gcp
   112                            - hetzner
   113                            - kubevirt
   114                            - nutanix
   115                            - openstack
   116                            - packet
   117                            - vmwareclouddirector
   118                            - vsphere
   119                          type: string
   120                        type: array
   121                    type: object
   122                  targets:
   123                    items:
   124                      properties:
   125                        libs:
   126                          items:
   127                            type: string
   128                          type: array
   129                        rego:
   130                          type: string
   131                        target:
   132                          type: string
   133                      type: object
   134                    type: array
   135                type: object
   136            type: object
   137        served: true
   138        storage: true
   139        subresources: {}