{
  "description": "LogService is the Schema for the logservices 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": "LogServiceSpec defines the desired state of LogService",
      "properties": {
        "driver": {
          "enum": [
            "tcp",
            "http"
          ],
          "type": "string"
        },
        "driver_config": {
          "properties": {
            "additional_log_headers": {
              "items": {
                "properties": {
                  "during_request": {
                    "type": "boolean"
                  },
                  "during_response": {
                    "type": "boolean"
                  },
                  "during_trailer": {
                    "type": "boolean"
                  },
                  "header_name": {
                    "type": "string"
                  }
                },
                "type": "object",
                "additionalProperties": false
              },
              "type": "array"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "flush_interval_byte_size": {
          "type": "integer"
        },
        "flush_interval_time": {
          "type": "integer"
        },
        "grpc": {
          "type": "boolean"
        },
        "service": {
          "type": "string"
        },
        "v3ProtocolVersion": {
          "enum": [
            "v2",
            "v3"
          ],
          "type": "string"
        },
        "v3StatsName": {
          "type": "string"
        }
      },
      "type": "object",
      "x-kubernetes-preserve-unknown-fields": true
    }
  },
  "type": "object"
}
