...

Text file src/github.com/openshift/api/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml-patch

Documentation: github.com/openshift/api/operator/v1

     1- op: add
     2  path: /spec/versions/name=v1/schema/openAPIV3Schema/properties/spec/properties/logging/properties/access/properties/destination/properties/syslog/oneOf
     3  value:
     4  - properties:
     5      address:
     6        format: ipv4
     7  - properties:
     8      address:
     9        format: ipv6
    10- op: add
    11  path: /spec/versions/name=v1/schema/openAPIV3Schema/properties/spec/properties/tuningOptions/anyOf
    12  # We explicitly choose anyOf to allow:
    13  #
    14  # - the enum
    15  # - the range
    16  # - and null
    17  #
    18  # If we specify oneOf that only allows for one of 'the enum' or 'the
    19  # range'. Anything outside of that is invalid. However, we want to
    20  # allow 'null' because maxConnections is an optional field. Using
    21  # anyOf allows for 'the enum', 'the range', or 'null'. By allowing
    22  # 'null' we provide a consistent user experience given that there
    23  # are other optional integer fields in tuningOptions.
    24  value:
    25  - properties:
    26      maxConnections:
    27        enum: [ -1, 0 ]
    28  - properties:
    29      maxConnections:
    30        format: int32
    31        minimum: 2000
    32        maximum: 2000000

View as plain text