...

Text file src/k8s.io/kubernetes/hack/testdata/CRD/example-crd-1-namespaced.yaml

Documentation: k8s.io/kubernetes/hack/testdata/CRD

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  name: examples.test.com
     5spec:
     6  group: test.com
     7  scope: Namespaced
     8  versions:
     9    - name: v1
    10      served: true
    11      storage: true
    12      schema:
    13        openAPIV3Schema:
    14          type: object
    15          properties:
    16            spec:
    17              type: object
    18              properties:
    19                test:
    20                  type: string
    21  names:
    22    plural: examples
    23    singular: example
    24    kind: Example

View as plain text