---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    haproxy.org/client-native: v5.1.16-0.20241206145631-acb903fd9ec2
  name: defaults.ingress.v1.haproxy.org
spec:
  group: ingress.v1.haproxy.org
  names:
    kind: Defaults
    listKind: DefaultsList
    plural: defaults
    singular: defaults
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: Defaults is a specification for a Defaults resource
        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: DefaultsSpec defines the desired state of Defaults
            properties:
              config:
                description: |-
                  Defaults Defaults

                  # HAProxy defaults configuration

                  swagger:model defaults
                properties:
                  abortonclose:
                    description: |-
                      abortonclose
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  accept_invalid_http_request:
                    description: |-
                      accept invalid http request
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  accept_invalid_http_response:
                    description: |-
                      accept invalid http response
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  adv_check:
                    description: |-
                      adv check
                      Enum: [httpchk ldap-check mysql-check pgsql-check redis-check smtpchk ssl-hello-chk tcp-check]
                    enum:
                    - httpchk
                    - ldap-check
                    - mysql-check
                    - pgsql-check
                    - redis-check
                    - smtpchk
                    - ssl-hello-chk
                    - tcp-check
                    type: string
                  allbackups:
                    description: |-
                      allbackups
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  backlog:
                    description: backlog
                    format: int64
                    type: integer
                  balance:
                    description: balance
                    properties:
                      algorithm:
                        description: |-
                          algorithm
                          Required: true
                          Enum: [first hash hdr leastconn random rdp-cookie roundrobin source static-rr uri url_param]
                        enum:
                        - first
                        - hash
                        - hdr
                        - leastconn
                        - random
                        - rdp-cookie
                        - roundrobin
                        - source
                        - static-rr
                        - uri
                        - url_param
                        type: string
                      hash_expression:
                        description: hash expression
                        type: string
                      hdr_name:
                        description: hdr name
                        type: string
                      hdr_use_domain_only:
                        description: hdr use domain only
                        type: boolean
                      random_draws:
                        description: random draws
                        format: int64
                        type: integer
                      rdp_cookie_name:
                        description: |-
                          rdp cookie name
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      uri_depth:
                        description: uri depth
                        format: int64
                        type: integer
                      uri_len:
                        description: uri len
                        format: int64
                        type: integer
                      uri_path_only:
                        description: uri path only
                        type: boolean
                      uri_whole:
                        description: uri whole
                        type: boolean
                      url_param:
                        description: |-
                          url param
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      url_param_check_post:
                        description: url param check post
                        format: int64
                        type: integer
                      url_param_max_wait:
                        description: url param max wait
                        format: int64
                        type: integer
                    required:
                    - algorithm
                    type: object
                  bind_process:
                    description: |-
                      bind process
                      Pattern: ^[^\s]+$
                    pattern: ^[^\s]+$
                    type: string
                  check_timeout:
                    description: check timeout
                    format: int64
                    type: integer
                  checkcache:
                    description: |-
                      checkcache
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  clflog:
                    description: clflog
                    type: boolean
                  client_fin_timeout:
                    description: client fin timeout
                    format: int64
                    type: integer
                  client_timeout:
                    description: client timeout
                    format: int64
                    type: integer
                  clitcpka:
                    description: |-
                      clitcpka
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  clitcpka_cnt:
                    description: clitcpka cnt
                    format: int64
                    type: integer
                  clitcpka_idle:
                    description: clitcpka idle
                    format: int64
                    type: integer
                  clitcpka_intvl:
                    description: clitcpka intvl
                    format: int64
                    type: integer
                  compression:
                    description: compression
                    properties:
                      algo-req:
                        description: |-
                          algo req
                          Enum: [identity gzip deflate raw-deflate]
                        enum:
                        - identity
                        - gzip
                        - deflate
                        - raw-deflate
                        type: string
                      algorithms:
                        description: algorithms
                        items:
                          type: string
                        type: array
                      algos-res:
                        description: algos res
                        items:
                          type: string
                        type: array
                      direction:
                        description: |-
                          direction
                          Enum: [request response both]
                        enum:
                        - request
                        - response
                        - both
                        type: string
                      offload:
                        description: offload
                        type: boolean
                      types:
                        description: types
                        items:
                          type: string
                        type: array
                      types-req:
                        description: types req
                        items:
                          type: string
                        type: array
                      types-res:
                        description: types res
                        items:
                          type: string
                        type: array
                    type: object
                  connect_timeout:
                    description: connect timeout
                    format: int64
                    type: integer
                  contstats:
                    description: |-
                      contstats
                      Enum: [enabled]
                    enum:
                    - enabled
                    type: string
                  cookie:
                    description: cookie
                    properties:
                      attr:
                        description: attrs
                        items:
                          description: |-
                            Attr attr

                            swagger:model Attr
                          properties:
                            value:
                              description: |-
                                value
                                Pattern: ^[^\s]+$
                              pattern: ^[^\s]+$
                              type: string
                          type: object
                        type: array
                      domain:
                        description: domains
                        items:
                          description: |-
                            Domain domain

                            swagger:model Domain
                          properties:
                            value:
                              description: |-
                                value
                                Pattern: ^[^\s]+$
                              pattern: ^[^\s]+$
                              type: string
                          type: object
                        type: array
                      dynamic:
                        description: dynamic
                        type: boolean
                      httponly:
                        description: httponly
                        type: boolean
                      indirect:
                        description: indirect
                        type: boolean
                      maxidle:
                        description: maxidle
                        format: int64
                        type: integer
                      maxlife:
                        description: maxlife
                        format: int64
                        type: integer
                      name:
                        description: |-
                          name
                          Required: true
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      nocache:
                        description: nocache
                        type: boolean
                      postonly:
                        description: postonly
                        type: boolean
                      preserve:
                        description: preserve
                        type: boolean
                      secure:
                        description: secure
                        type: boolean
                      type:
                        description: |-
                          type
                          Enum: [rewrite insert prefix]
                        enum:
                        - rewrite
                        - insert
                        - prefix
                        type: string
                    required:
                    - name
                    type: object
                  default_backend:
                    description: |-
                      default backend
                      Pattern: ^[A-Za-z0-9-_.:]+$
                    pattern: ^[A-Za-z0-9-_.:]+$
                    type: string
                  default_server:
                    description: default server
                    properties:
                      agent-addr:
                        description: |-
                          agent addr
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      agent-check:
                        description: |-
                          agent check
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      agent-inter:
                        description: agent inter
                        format: int64
                        type: integer
                      agent-port:
                        description: |-
                          agent port
                          Maximum: 65535
                          Minimum: 1
                        format: int64
                        maximum: 65535
                        minimum: 1
                        type: integer
                      agent-send:
                        description: agent send
                        type: string
                      allow_0rtt:
                        description: allow 0rtt
                        type: boolean
                      alpn:
                        description: |-
                          alpn
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      backup:
                        description: |-
                          backup
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      check:
                        description: |-
                          check
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      check-send-proxy:
                        description: |-
                          check send proxy
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      check-sni:
                        description: |-
                          check sni
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      check-ssl:
                        description: |-
                          check ssl
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      check_alpn:
                        description: |-
                          check alpn
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      check_proto:
                        description: |-
                          check proto
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      check_via_socks4:
                        description: |-
                          check via socks4
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      ciphers:
                        description: ciphers
                        type: string
                      ciphersuites:
                        description: ciphersuites
                        type: string
                      client_sigalgs:
                        description: client sigalgs
                        type: string
                      cookie:
                        description: |-
                          cookie
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      crl_file:
                        description: crl file
                        type: string
                      curves:
                        description: curves
                        type: string
                      downinter:
                        description: downinter
                        format: int64
                        type: integer
                      error_limit:
                        description: error limit
                        format: int64
                        type: integer
                      fall:
                        description: fall
                        format: int64
                        type: integer
                      fastinter:
                        description: fastinter
                        format: int64
                        type: integer
                      force_sslv3:
                        description: |-
                          force sslv3
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      force_tlsv10:
                        description: |-
                          force tlsv10
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      force_tlsv11:
                        description: |-
                          force tlsv11
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      force_tlsv12:
                        description: |-
                          force tlsv12
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      force_tlsv13:
                        description: |-
                          force tlsv13
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      health_check_address:
                        description: |-
                          health check address
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      health_check_port:
                        description: |-
                          health check port
                          Maximum: 65535
                          Minimum: 1
                        format: int64
                        maximum: 65535
                        minimum: 1
                        type: integer
                      init-addr:
                        description: |-
                          init addr
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      inter:
                        description: inter
                        format: int64
                        type: integer
                      log-bufsize:
                        description: log bufsize
                        format: int64
                        type: integer
                      log_proto:
                        description: |-
                          log proto
                          Enum: [legacy octet-count]
                        enum:
                        - legacy
                        - octet-count
                        type: string
                      maintenance:
                        description: |-
                          maintenance
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      max_reuse:
                        description: max reuse
                        format: int64
                        type: integer
                      maxconn:
                        description: maxconn
                        format: int64
                        type: integer
                      maxqueue:
                        description: maxqueue
                        format: int64
                        type: integer
                      minconn:
                        description: minconn
                        format: int64
                        type: integer
                      namespace:
                        description: namespace
                        type: string
                      no_sslv3:
                        description: |-
                          no sslv3
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      no_tlsv10:
                        description: |-
                          no tlsv10
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      no_tlsv11:
                        description: |-
                          no tlsv11
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      no_tlsv12:
                        description: |-
                          no tlsv12
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      no_tlsv13:
                        description: |-
                          no tlsv13
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      no_verifyhost:
                        description: |-
                          no verifyhost
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      npn:
                        description: npn
                        type: string
                      observe:
                        description: |-
                          observe
                          Enum: [layer4 layer7]
                        enum:
                        - layer4
                        - layer7
                        type: string
                      on-error:
                        description: |-
                          on error
                          Enum: [fastinter fail-check sudden-death mark-down]
                        enum:
                        - fastinter
                        - fail-check
                        - sudden-death
                        - mark-down
                        type: string
                      on-marked-down:
                        description: |-
                          on marked down
                          Enum: [shutdown-sessions]
                        enum:
                        - shutdown-sessions
                        type: string
                      on-marked-up:
                        description: |-
                          on marked up
                          Enum: [shutdown-backup-sessions]
                        enum:
                        - shutdown-backup-sessions
                        type: string
                      pool_low_conn:
                        description: pool low conn
                        format: int64
                        type: integer
                      pool_max_conn:
                        description: pool max conn
                        format: int64
                        type: integer
                      pool_purge_delay:
                        description: pool purge delay
                        format: int64
                        type: integer
                      proto:
                        description: |-
                          proto
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      proxy-v2-options:
                        description: proxy v2 options
                        items:
                          type: string
                        type: array
                      redir:
                        description: redir
                        type: string
                      resolve-net:
                        description: |-
                          resolve net
                          Pattern: ^([A-Za-z0-9.:/]+)(,[A-Za-z0-9.:/]+)*$
                        pattern: ^([A-Za-z0-9.:/]+)(,[A-Za-z0-9.:/]+)*$
                        type: string
                      resolve-prefer:
                        description: |-
                          resolve prefer
                          Enum: [ipv4 ipv6]
                        enum:
                        - ipv4
                        - ipv6
                        type: string
                      resolve_opts:
                        description: |-
                          resolve opts
                          Pattern: ^(allow-dup-ip|ignore-weight|prevent-dup-ip)(,(allow-dup-ip|ignore-weight|prevent-dup-ip))*$
                        pattern: ^(allow-dup-ip|ignore-weight|prevent-dup-ip)(,(allow-dup-ip|ignore-weight|prevent-dup-ip))*$
                        type: string
                      resolvers:
                        description: |-
                          resolvers
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      rise:
                        description: rise
                        format: int64
                        type: integer
                      send-proxy:
                        description: |-
                          send proxy
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      send-proxy-v2:
                        description: |-
                          send proxy v2
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      send_proxy_v2_ssl:
                        description: |-
                          send proxy v2 ssl
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      send_proxy_v2_ssl_cn:
                        description: |-
                          send proxy v2 ssl cn
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      set-proxy-v2-tlv-fmt:
                        description: set proxy v2 tlv fmt
                        properties:
                          id:
                            description: |-
                              id
                              Required: true
                            type: string
                          value:
                            description: |-
                              value
                              Required: true
                            type: string
                        required:
                        - id
                        - value
                        type: object
                      shard:
                        description: shard
                        format: int64
                        type: integer
                      sigalgs:
                        description: sigalgs
                        type: string
                      slowstart:
                        description: slowstart
                        format: int64
                        type: integer
                      sni:
                        description: |-
                          sni
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      socks4:
                        description: |-
                          socks4
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      source:
                        description: source
                        type: string
                      ssl:
                        description: |-
                          ssl
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      ssl_cafile:
                        description: |-
                          ssl cafile
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      ssl_certificate:
                        description: |-
                          ssl certificate
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      ssl_max_ver:
                        description: |-
                          ssl max ver
                          Enum: [SSLv3 TLSv1.0 TLSv1.1 TLSv1.2 TLSv1.3]
                        enum:
                        - SSLv3
                        - TLSv1.0
                        - TLSv1.1
                        - TLSv1.2
                        - TLSv1.3
                        type: string
                      ssl_min_ver:
                        description: |-
                          ssl min ver
                          Enum: [SSLv3 TLSv1.0 TLSv1.1 TLSv1.2 TLSv1.3]
                        enum:
                        - SSLv3
                        - TLSv1.0
                        - TLSv1.1
                        - TLSv1.2
                        - TLSv1.3
                        type: string
                      ssl_reuse:
                        description: |-
                          ssl reuse
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      stick:
                        description: |-
                          stick
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      tcp_ut:
                        description: tcp ut
                        format: int64
                        type: integer
                      tfo:
                        description: |-
                          tfo
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      tls_tickets:
                        description: |-
                          tls tickets
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      track:
                        description: track
                        type: string
                      verify:
                        description: |-
                          verify
                          Enum: [none required]
                        enum:
                        - none
                        - required
                        type: string
                      verifyhost:
                        description: verifyhost
                        type: string
                      weight:
                        description: weight
                        format: int64
                        type: integer
                      ws:
                        description: |-
                          ws
                          Enum: [auto h1 h2]
                        enum:
                        - auto
                        - h1
                        - h2
                        type: string
                    type: object
                  disable_h2_upgrade:
                    description: |-
                      disable h2 upgrade
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  disabled:
                    description: disabled
                    type: boolean
                  dontlog_normal:
                    description: |-
                      dontlog normal
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  dontlognull:
                    description: |-
                      dontlognull
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  dynamic_cookie_key:
                    description: |-
                      dynamic cookie key
                      Pattern: ^[^\s]+$
                    pattern: ^[^\s]+$
                    type: string
                  email_alert:
                    description: email alert
                    properties:
                      from:
                        description: |-
                          from
                          Required: true
                          Pattern: ^\S+@\S+$
                        pattern: ^\S+@\S+$
                        type: string
                      level:
                        description: |-
                          level
                          Enum: [emerg alert crit err warning notice info debug]
                        enum:
                        - emerg
                        - alert
                        - crit
                        - err
                        - warning
                        - notice
                        - info
                        - debug
                        type: string
                      mailers:
                        description: |-
                          mailers
                          Required: true
                        type: string
                      myhostname:
                        description: myhostname
                        type: string
                      to:
                        description: |-
                          to
                          Required: true
                          Pattern: ^\S+@\S+$
                        pattern: ^\S+@\S+$
                        type: string
                    required:
                    - from
                    - mailers
                    - to
                    type: object
                  enabled:
                    description: enabled
                    type: boolean
                  error_files:
                    description: error files
                    items:
                      description: |-
                        Errorfile errorfile

                        swagger:model errorfile
                      properties:
                        code:
                          description: |-
                            code
                            Enum: [200 400 401 403 404 405 407 408 410 413 425 429 500 501 502 503 504]
                          enum:
                          - 200
                          - 400
                          - 401
                          - 403
                          - 404
                          - 405
                          - 407
                          - 408
                          - 410
                          - 413
                          - 425
                          - 429
                          - 500
                          - 501
                          - 502
                          - 503
                          - 504
                          format: int64
                          type: integer
                        file:
                          description: file
                          type: string
                      type: object
                    type: array
                  error_log_format:
                    description: error log format
                    type: string
                  errorfiles_from_http_errors:
                    description: error files from HTTP errors
                    items:
                      description: |-
                        Errorfiles errorfiles

                        swagger:model errorfiles
                      properties:
                        codes:
                          description: codes
                          items:
                            format: int64
                            type: integer
                          type: array
                        name:
                          description: name
                          type: string
                      type: object
                    type: array
                  errorloc302:
                    description: errorloc302
                    properties:
                      code:
                        description: |-
                          code
                          Required: true
                          Enum: [200 400 401 403 404 405 407 408 410 413 425 429 500 501 502 503 504]
                        enum:
                        - 200
                        - 400
                        - 401
                        - 403
                        - 404
                        - 405
                        - 407
                        - 408
                        - 410
                        - 413
                        - 425
                        - 429
                        - 500
                        - 501
                        - 502
                        - 503
                        - 504
                        format: int64
                        type: integer
                      url:
                        description: |-
                          url
                          Required: true
                        type: string
                    required:
                    - code
                    - url
                    type: object
                  errorloc303:
                    description: errorloc303
                    properties:
                      code:
                        description: |-
                          code
                          Required: true
                          Enum: [200 400 401 403 404 405 407 408 410 413 425 429 500 501 502 503 504]
                        enum:
                        - 200
                        - 400
                        - 401
                        - 403
                        - 404
                        - 405
                        - 407
                        - 408
                        - 410
                        - 413
                        - 425
                        - 429
                        - 500
                        - 501
                        - 502
                        - 503
                        - 504
                        format: int64
                        type: integer
                      url:
                        description: |-
                          url
                          Required: true
                        type: string
                    required:
                    - code
                    - url
                    type: object
                  external_check:
                    description: |-
                      external check
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  external_check_command:
                    description: |-
                      external check command
                      Pattern: ^[^\s]+$
                    pattern: ^[^\s]+$
                    type: string
                  external_check_path:
                    description: |-
                      external check path
                      Pattern: ^[^\s]+$
                    pattern: ^[^\s]+$
                    type: string
                  forwardfor:
                    description: forwardfor
                    properties:
                      enabled:
                        description: |-
                          enabled
                          Required: true
                          Enum: [enabled]
                        enum:
                        - enabled
                        type: string
                      except:
                        description: |-
                          except
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      header:
                        description: |-
                          header
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      ifnone:
                        description: ifnone
                        type: boolean
                    required:
                    - enabled
                    type: object
                  from:
                    description: |-
                      from
                      Pattern: ^[A-Za-z0-9-_.:]+$
                    pattern: ^[A-Za-z0-9-_.:]+$
                    type: string
                  fullconn:
                    description: fullconn
                    format: int64
                    type: integer
                  h1_case_adjust_bogus_client:
                    description: |-
                      h1 case adjust bogus client
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  h1_case_adjust_bogus_server:
                    description: |-
                      h1 case adjust bogus server
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  hash_balance_factor:
                    description: hash balance factor
                    format: int64
                    type: integer
                  hash_type:
                    description: hash type
                    properties:
                      function:
                        description: |-
                          function
                          Enum: [sdbm djb2 wt6 crc32 none]
                        enum:
                        - sdbm
                        - djb2
                        - wt6
                        - crc32
                        - none
                        type: string
                      method:
                        description: |-
                          method
                          Enum: [map-based consistent]
                        enum:
                        - map-based
                        - consistent
                        type: string
                      modifier:
                        description: |-
                          modifier
                          Enum: [avalanche]
                        enum:
                        - avalanche
                        type: string
                    type: object
                  http-buffer-request:
                    description: |-
                      http buffer request
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  http-check:
                    description: http check
                    properties:
                      addr:
                        description: |-
                          addr
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      alpn:
                        description: |-
                          alpn
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      body:
                        description: body
                        type: string
                      body_log_format:
                        description: body log format
                        type: string
                      check_comment:
                        description: check comment
                        type: string
                      default:
                        description: default
                        type: boolean
                      error_status:
                        description: |-
                          error status
                          Enum: [L7OKC L7RSP L7STS L6RSP L4CON]
                        enum:
                        - L7OKC
                        - L7RSP
                        - L7STS
                        - L6RSP
                        - L4CON
                        type: string
                      exclamation_mark:
                        description: exclamation mark
                        type: boolean
                      headers:
                        description: check headers
                        items:
                          description: |-
                            ReturnHeader return header

                            swagger:model ReturnHeader
                          properties:
                            fmt:
                              description: |-
                                fmt
                                Required: true
                              type: string
                            name:
                              description: |-
                                name
                                Required: true
                              type: string
                          required:
                          - fmt
                          - name
                          type: object
                        type: array
                      index:
                        description: |-
                          index
                          Required: true
                        format: int64
                        type: integer
                      linger:
                        description: linger
                        type: boolean
                      match:
                        description: |-
                          match
                          Pattern: ^[^\s]+$
                          Enum: [status rstatus hdr fhdr string rstring]
                        enum:
                        - status
                        - rstatus
                        - hdr
                        - fhdr
                        - string
                        - rstring
                        pattern: ^[^\s]+$
                        type: string
                      method:
                        description: |-
                          method
                          Enum: [HEAD PUT POST GET TRACE PATCH DELETE CONNECT OPTIONS]
                        enum:
                        - HEAD
                        - PUT
                        - POST
                        - GET
                        - TRACE
                        - PATCH
                        - DELETE
                        - CONNECT
                        - OPTIONS
                        type: string
                      min_recv:
                        description: min recv
                        format: int64
                        type: integer
                      ok_status:
                        description: |-
                          ok status
                          Enum: [L7OK L7OKC L6OK L4OK]
                        enum:
                        - L7OK
                        - L7OKC
                        - L6OK
                        - L4OK
                        type: string
                      on_error:
                        description: on error
                        type: string
                      on_success:
                        description: on success
                        type: string
                      pattern:
                        description: pattern
                        type: string
                      port:
                        description: |-
                          port
                          Maximum: 65535
                          Minimum: 1
                        format: int64
                        maximum: 65535
                        minimum: 1
                        type: integer
                      port_string:
                        description: port string
                        type: string
                      proto:
                        description: proto
                        type: string
                      send_proxy:
                        description: send proxy
                        type: boolean
                      sni:
                        description: sni
                        type: string
                      ssl:
                        description: ssl
                        type: boolean
                      status-code:
                        description: status code
                        type: string
                      tout_status:
                        description: |-
                          tout status
                          Enum: [L7TOUT L6TOUT L4TOUT]
                        enum:
                        - L7TOUT
                        - L6TOUT
                        - L4TOUT
                        type: string
                      type:
                        description: |-
                          type
                          Required: true
                          Enum: [comment connect disable-on-404 expect send send-state set-var set-var-fmt unset-var]
                        enum:
                        - comment
                        - connect
                        - disable-on-404
                        - expect
                        - send
                        - send-state
                        - set-var
                        - set-var-fmt
                        - unset-var
                        type: string
                      uri:
                        description: uri
                        type: string
                      uri_log_format:
                        description: uri log format
                        type: string
                      var_expr:
                        description: var expr
                        type: string
                      var_format:
                        description: var format
                        type: string
                      var_name:
                        description: |-
                          var name
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      var_scope:
                        description: |-
                          var scope
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      version:
                        description: version
                        type: string
                      via_socks4:
                        description: via socks4
                        type: boolean
                    required:
                    - type
                    type: object
                  http-use-htx:
                    description: |-
                      http use htx
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  http_connection_mode:
                    description: |-
                      http connection mode
                      Enum: [httpclose http-server-close http-keep-alive]
                    enum:
                    - httpclose
                    - http-server-close
                    - http-keep-alive
                    type: string
                  http_ignore_probes:
                    description: |-
                      http ignore probes
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  http_keep_alive_timeout:
                    description: http keep alive timeout
                    format: int64
                    type: integer
                  http_no_delay:
                    description: |-
                      http no delay
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  http_pretend_keepalive:
                    description: |-
                      http pretend keepalive
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  http_request_timeout:
                    description: http request timeout
                    format: int64
                    type: integer
                  http_restrict_req_hdr_names:
                    description: |-
                      http restrict req hdr names
                      Enum: [preserve delete reject]
                    enum:
                    - preserve
                    - delete
                    - reject
                    type: string
                  http_reuse:
                    description: |-
                      http reuse
                      Enum: [aggressive always never safe]
                    enum:
                    - aggressive
                    - always
                    - never
                    - safe
                    type: string
                  http_send_name_header:
                    description: http send name header
                    type: string
                  http_use_proxy_header:
                    description: |-
                      http use proxy header
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  httpchk_params:
                    description: httpchk params
                    properties:
                      method:
                        description: |-
                          method
                          Enum: [HEAD PUT POST GET TRACE PATCH DELETE CONNECT OPTIONS]
                        enum:
                        - HEAD
                        - PUT
                        - POST
                        - GET
                        - TRACE
                        - PATCH
                        - DELETE
                        - CONNECT
                        - OPTIONS
                        type: string
                      uri:
                        description: |-
                          uri
                          Pattern: ^[^ ]*$
                        pattern: ^[^ ]*$
                        type: string
                      version:
                        description: version
                        type: string
                    type: object
                  httplog:
                    description: httplog
                    type: boolean
                  httpslog:
                    description: |-
                      httpslog
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  idle_close_on_response:
                    description: |-
                      idle close on response
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  independent_streams:
                    description: |-
                      independent streams
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  load_server_state_from_file:
                    description: |-
                      load server state from file
                      Enum: [global local none]
                    enum:
                    - global
                    - local
                    - none
                    type: string
                  log_format:
                    description: log format
                    type: string
                  log_format_sd:
                    description: log format sd
                    type: string
                  log_health_checks:
                    description: |-
                      log health checks
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  log_separate_errors:
                    description: |-
                      log separate errors
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  log_tag:
                    description: |-
                      log tag
                      Pattern: ^[^\s]+$
                    pattern: ^[^\s]+$
                    type: string
                  logasap:
                    description: |-
                      logasap
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  max_keep_alive_queue:
                    description: max keep alive queue
                    format: int64
                    type: integer
                  maxconn:
                    description: maxconn
                    format: int64
                    type: integer
                  mode:
                    description: |-
                      mode
                      Enum: [tcp http log]
                    enum:
                    - tcp
                    - http
                    - log
                    type: string
                  monitor_uri:
                    description: monitor uri
                    type: string
                  mysql_check_params:
                    description: mysql check params
                    properties:
                      client_version:
                        description: |-
                          client version
                          Enum: [pre-41 post-41]
                        enum:
                        - pre-41
                        - post-41
                        type: string
                      username:
                        description: username
                        type: string
                    type: object
                  name:
                    description: |-
                      name
                      Pattern: ^[A-Za-z0-9-_.:]+$
                    pattern: ^[A-Za-z0-9-_.:]+$
                    type: string
                  nolinger:
                    description: |-
                      nolinger
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  originalto:
                    description: originalto
                    properties:
                      enabled:
                        description: |-
                          enabled
                          Required: true
                          Enum: [enabled]
                        enum:
                        - enabled
                        type: string
                      except:
                        description: |-
                          except
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      header:
                        description: |-
                          header
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                    required:
                    - enabled
                    type: object
                  persist:
                    description: |-
                      persist
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  persist_rule:
                    description: persist rule
                    properties:
                      rdp_cookie_name:
                        description: |-
                          rdp cookie name
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      type:
                        description: |-
                          type
                          Required: true
                          Enum: [rdp-cookie]
                        enum:
                        - rdp-cookie
                        type: string
                    required:
                    - type
                    type: object
                  pgsql_check_params:
                    description: pgsql check params
                    properties:
                      username:
                        description: username
                        type: string
                    type: object
                  prefer_last_server:
                    description: |-
                      prefer last server
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  queue_timeout:
                    description: queue timeout
                    format: int64
                    type: integer
                  redispatch:
                    description: redispatch
                    properties:
                      enabled:
                        description: |-
                          enabled
                          Required: true
                          Enum: [enabled disabled]
                        enum:
                        - enabled
                        - disabled
                        type: string
                      interval:
                        description: interval
                        format: int64
                        type: integer
                    required:
                    - enabled
                    type: object
                  retries:
                    description: retries
                    format: int64
                    type: integer
                  retry_on:
                    description: retry on
                    type: string
                  server_fin_timeout:
                    description: server fin timeout
                    format: int64
                    type: integer
                  server_timeout:
                    description: server timeout
                    format: int64
                    type: integer
                  smtpchk_params:
                    description: smtpchk params
                    properties:
                      domain:
                        description: domain
                        type: string
                      hello:
                        description: hello
                        type: string
                    type: object
                  socket_stats:
                    description: |-
                      socket stats
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  source:
                    description: source
                    properties:
                      address:
                        description: |-
                          address
                          Required: true
                        type: string
                      address_second:
                        description: address second
                        type: string
                      hdr:
                        description: hdr
                        type: string
                      interface:
                        description: interface
                        type: string
                      occ:
                        description: occ
                        type: string
                      port:
                        description: |-
                          port
                          Maximum: 65535
                          Minimum: 1
                        format: int64
                        maximum: 65535
                        minimum: 1
                        type: integer
                      port_second:
                        description: |-
                          port second
                          Maximum: 65535
                          Minimum: 1
                        format: int64
                        maximum: 65535
                        minimum: 1
                        type: integer
                      usesrc:
                        description: |-
                          usesrc
                          Enum: [address client clientip hdr_ip]
                        enum:
                        - address
                        - client
                        - clientip
                        - hdr_ip
                        type: string
                    required:
                    - address
                    type: object
                  splice_auto:
                    description: |-
                      splice auto
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  splice_request:
                    description: |-
                      splice request
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  splice_response:
                    description: |-
                      splice response
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  srvtcpka:
                    description: |-
                      srvtcpka
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  srvtcpka_cnt:
                    description: srvtcpka cnt
                    format: int64
                    type: integer
                  srvtcpka_idle:
                    description: srvtcpka idle
                    format: int64
                    type: integer
                  srvtcpka_intvl:
                    description: srvtcpka intvl
                    format: int64
                    type: integer
                  stats_options:
                    description: stats options
                    properties:
                      stats_admin:
                        description: stats admin
                        type: boolean
                      stats_admin_cond:
                        description: |-
                          stats admin cond
                          Enum: [if unless]
                        enum:
                        - if
                        - unless
                        type: string
                      stats_admin_cond_test:
                        description: stats admin cond test
                        type: string
                      stats_auths:
                        description: stats auths
                        items:
                          description: |-
                            StatsAuth stats auth

                            swagger:model stats_auth
                          properties:
                            passwd:
                              description: |-
                                passwd
                                Required: true
                              type: string
                            user:
                              description: |-
                                user
                                Required: true
                              type: string
                          required:
                          - passwd
                          - user
                          type: object
                        type: array
                      stats_enable:
                        description: stats enable
                        type: boolean
                      stats_hide_version:
                        description: stats hide version
                        type: boolean
                      stats_http_requests:
                        description: stats http requests
                        items:
                          description: |-
                            StatsHTTPRequest stats http request

                            swagger:model stats_http_request
                          properties:
                            cond:
                              description: cond
                              type: string
                            cond_test:
                              description: cond test
                              type: string
                            realm:
                              description: realm
                              type: string
                            type:
                              description: |-
                                type
                                Required: true
                                Enum: [allow deny auth]
                              enum:
                              - allow
                              - deny
                              - auth
                              type: string
                          required:
                          - type
                          type: object
                        type: array
                      stats_maxconn:
                        description: |-
                          stats maxconn
                          Minimum: 1
                        format: int64
                        minimum: 1
                        type: integer
                      stats_realm:
                        description: stats realm
                        type: boolean
                      stats_realm_realm:
                        description: stats realm realm
                        type: string
                      stats_refresh_delay:
                        description: stats refresh delay
                        format: int64
                        type: integer
                      stats_show_desc:
                        description: stats show desc
                        type: string
                      stats_show_legends:
                        description: stats show legends
                        type: boolean
                      stats_show_modules:
                        description: stats show modules
                        type: boolean
                      stats_show_node_name:
                        description: |-
                          stats show node name
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                      stats_uri_prefix:
                        description: |-
                          stats uri prefix
                          Pattern: ^[^\s]+$
                        pattern: ^[^\s]+$
                        type: string
                    required:
                    - stats_show_node_name
                    type: object
                  tarpit_timeout:
                    description: tarpit timeout
                    format: int64
                    type: integer
                  tcp_smart_accept:
                    description: |-
                      tcp smart accept
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  tcp_smart_connect:
                    description: |-
                      tcp smart connect
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  tcpka:
                    description: |-
                      tcpka
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  tcplog:
                    description: tcplog
                    type: boolean
                  transparent:
                    description: |-
                      transparent
                      Enum: [enabled disabled]
                    enum:
                    - enabled
                    - disabled
                    type: string
                  tunnel_timeout:
                    description: tunnel timeout
                    format: int64
                    type: integer
                  unique_id_format:
                    description: unique id format
                    type: string
                  unique_id_header:
                    description: unique id header
                    type: string
                type: object
            required:
            - config
            type: object
        required:
        - spec
        type: object
    served: true
    storage: true
