github.com/IBM-Blockchain/fabric-operator@v1.0.4/definitions/orderer/saas-ingress.yaml (about)

     1  #
     2  # Copyright contributors to the Hyperledger Fabric Operator project
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  # Licensed under the Apache License, Version 2.0 (the "License");
     7  # you may not use this file except in compliance with the License.
     8  # You may obtain a copy of the License at:
     9  #
    10  # 	  http://www.apache.org/licenses/LICENSE-2.0
    11  #
    12  # Unless required by applicable law or agreed to in writing, software
    13  # distributed under the License is distributed on an "AS IS" BASIS,
    14  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  # See the License for the specific language governing permissions and
    16  # limitations under the License.
    17  #
    18  apiVersion: networking.k8s.io/v1
    19  kind: Ingress
    20  metadata:
    21    name: ingress-orderer
    22    annotations:
    23      ingress.bluemix.net/ssl-services: ssl-service=<servicename>
    24      ingress.bluemix.net/redirect-to-https: "True"
    25      ingress.bluemix.net/client-max-body-size: size=25m
    26      ingress.bluemix.net/large-client-header-buffers: number=10 size=25K
    27      ingress.bluemix.net/proxy-buffering: enabled=false serviceName=<servicename>
    28      ingress.bluemix.net/proxy-read-timeout: "serviceName=<servicename> timeout=300s"
    29      ingress.bluemix.net/proxy-buffers: "serviceName=<servicename> number=4 size=25K"
    30      ingress.bluemix.net/proxy-buffer-size: "serviceName=<servicename> size=25K"
    31  spec:
    32    rules:
    33    - host: fake.host
    34      http:
    35        paths:
    36        - backend:
    37            service:
    38              name: fake-service
    39              port:
    40                name: some-port
    41          path: /
    42          pathType: ImplementationSpecific
    43          path: /
    44    tls:
    45    - hosts:
    46      - fake.host
    47      secretName: fakesecret