apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: humioparsers.core.humio.com
  labels:
    app: 'humio-operator'
    app.kubernetes.io/name: 'humio-operator'
    app.kubernetes.io/instance: 'humio-operator'
    app.kubernetes.io/managed-by: 'Helm'
    helm.sh/chart: 'humio-operator-0.0.12'
spec:
  group: core.humio.com
  names:
    kind: HumioParser
    listKind: HumioParserList
    plural: humioparsers
    singular: humioparser
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - description: The state of the parser
      jsonPath: .status.state
      name: State
      type: string
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: HumioParser is the Schema for the humioparsers 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: HumioParserSpec defines the desired state of HumioParser
            properties:
              externalClusterName:
                type: string
              managedClusterName:
                description: Which cluster
                type: string
              name:
                description: Input
                type: string
              parserScript:
                type: string
              repositoryName:
                type: string
              tagFields:
                items:
                  type: string
                type: array
              testData:
                items:
                  type: string
                type: array
            type: object
          status:
            description: HumioParserStatus defines the observed state of HumioParser
            properties:
              state:
                type: string
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
