github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/18/fail/18-fail.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1beta1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    name: crontabs.example.com
     5  spec:
     6    group: example.com
     7    versions:
     8    - name: v1beta1
     9      served: true
    10      storage: true
    11    - name: v1
    12      served: true
    13      storage: false
    14    validation:
    15      openAPIV3Schema:
    16        type: object
    17        properties:
    18          host:
    19            type: string
    20          port:
    21            type: string
    22    conversion:
    23      strategy: None
    24    scope: Namespaced
    25    names:
    26      plural: crontabs
    27      singular: crontab
    28      kind: CronTab
    29      shortNames:
    30      - ct