apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: templates.tmax.io
spec:
  group: tmax.io
  versions:
  - name: v1
    served: true
    storage: true
    schema:
      openAPIV3Schema:
        type: object
        properties:
          apiVersion:
            type: string
          kind:
            type: string
          labels:
            additionalProperties:
              type: string
            type: object
          message:
            type: string
          metadata:
            properties:
              generateName:
                type: string
              name:
                type: string
            type: object
          objects:
            items:
              type: object
              x-kubernetes-preserve-unknown-fields: true
            type: array
          parameters:
            items:
              properties:
                description:
                  type: string
                displayName:
                  type: string
                from:
                  type: string
                generate:
                  type: string
                name:
                  type: string
                required:
                  type: boolean
                value:
                  type: string
              required:
              - name
              type: object
            type: array
  scope: Namespaced
  names:
    plural: templates
    singular: template
    kind: Template
    shortNames:
    - tp

            

  
