apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    cert-manager.io/inject-ca-from: music-system/music-serving-cert
    controller-gen.kubebuilder.io/version: v0.2.5
  name: rockbands.music.example.io
spec:
  group: music.example.io
  names:
    kind: RockBand
    listKind: RockBandList
    plural: rockbands
    singular: rockband
  scope: Namespaced
  versions:
    - name: v1
      schema:
        openAPIV3Schema:
          description: RockBand is the Schema for the rockbands API
          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
            spec:
              description: RockBandSpec defines the desired state of RockBand
              properties:
                genre:
                  type: string
                leadSinger:
                  type: string
                numberComponents:
                  format: int32
                  type: integer
              type: object
            status:
              description: RockBandStatus defines the observed state of RockBand
              properties:
                lastPlayed:
                  type: string
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}
    - name: v2beta1
      schema:
        openAPIV3Schema:
          description: RockBand is the Schema for the rockbands API
          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
            spec:
              description: RockBandSpec defines the desired state of RockBand
              properties:
                genre:
                  type: string
                leadGuitar:
                  type: string
                leadSinger:
                  type: string
                numberComponents:
                  format: int32
                  type: integer
              type: object
            status:
              description: RockBandStatus defines the observed state of RockBand
              properties:
                lastPlayed:
                  type: string
              required:
                - lastPlayed
              type: object
          type: object
      served: true
      storage: false
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
