---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.11.3
  creationTimestamp: null
  name: testtypes.testgroup.testing.cert-manager.io
spec:
  group: testgroup.testing.cert-manager.io
  names:
    kind: TestType
    listKind: TestTypeList
    plural: testtypes
    singular: testtype
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        properties:
          apiVersion:
            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'
            type: string
          kind:
            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'
            type: string
          metadata:
            type: object
          testDefaultingField:
            description: TestDefaultingField is used to test defaulting. In the v1
              API, it defaults to `set-in-v1`. In the v2 API, it defaults to `set-in-v2`.
            type: string
          testField:
            description: TestField is used in tests. Validation doesn't allow this
              to be set to the value of TestFieldValueNotAllowed.
            type: string
          testFieldImmutable:
            description: TestFieldImmutable cannot be changed after being set to a
              non-zero value
            type: string
          testFieldPtr:
            type: string
        required:
        - metadata
        - testField
        - testFieldImmutable
        type: object
    served: true
    storage: false
  - name: v2
    schema:
      openAPIV3Schema:
        description: TestType in v2 is identical to v1, except TestFieldPtr has been
          renamed to TestFieldPtrAlt
        properties:
          apiVersion:
            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'
            type: string
          kind:
            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'
            type: string
          metadata:
            type: object
          testDefaultingField:
            description: TestDefaultingField is used to test defaulting. In the v1
              API, it defaults to `set-in-v1`. In the v2 API, it defaults to `set-in-v2`.
            type: string
          testField:
            description: TestField is used in tests. Validation doesn't allow this
              to be set to the value of TestFieldValueNotAllowed.
            type: string
          testFieldImmutable:
            description: TestFieldImmutable cannot be changed after being set to a
              non-zero value
            type: string
          testFieldPtrAlt:
            type: string
        required:
        - metadata
        - testField
        - testFieldImmutable
        type: object
    served: true
    storage: true
