github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/crds/core.oam.dev_policies.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.11.4
     7    name: policies.core.oam.dev
     8  spec:
     9    group: core.oam.dev
    10    names:
    11      categories:
    12      - oam
    13      kind: Policy
    14      listKind: PolicyList
    15      plural: policies
    16      singular: policy
    17    scope: Namespaced
    18    versions:
    19    - additionalPrinterColumns:
    20      - jsonPath: .type
    21        name: TYPE
    22        type: string
    23      name: v1alpha1
    24      schema:
    25        openAPIV3Schema:
    26          description: Policy is the Schema for the policy API
    27          properties:
    28            apiVersion:
    29              description: 'APIVersion defines the versioned schema of this representation
    30                of an object. Servers should convert recognized schemas to the latest
    31                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    32              type: string
    33            kind:
    34              description: 'Kind is a string value representing the REST resource this
    35                object represents. Servers may infer this from the endpoint the client
    36                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    37              type: string
    38            metadata:
    39              type: object
    40            properties:
    41              type: object
    42              x-kubernetes-preserve-unknown-fields: true
    43            type:
    44              type: string
    45          required:
    46          - type
    47          type: object
    48      served: true
    49      storage: true
    50      subresources: {}