github.com/abayer/test-infra@v0.0.5/prow/cluster/tls-ing_ingress.yaml (about)

     1  # Copyright 2016 The Kubernetes Authors All rights reserved.
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  
    15  apiVersion: extensions/v1beta1
    16  kind: Ingress
    17  metadata:
    18    name: tls-ing
    19    annotations:
    20      kubernetes.io/ingress.global-static-ip-name: prow
    21      kubernetes.io/tls-acme: "true"
    22      kubernetes.io/ingress.class: "gce"
    23  spec:
    24    tls:
    25    - secretName: prow-tls
    26      hosts:
    27      - prow.k8s.io
    28      - prow.kubernetes.io
    29    rules:
    30    - host: prow.k8s.io
    31      http:
    32        paths:
    33        - path: /*
    34          backend:
    35            serviceName: deck
    36            servicePort: 80
    37        - path: /hook
    38          backend:
    39            serviceName: hook
    40            servicePort: 8888
    41        - path: /metrics
    42          backend:
    43            serviceName: pushgateway-external
    44            servicePort: 80
    45    - host: prow.kubernetes.io
    46      http:
    47        paths:
    48        - path: /*
    49          backend:
    50            serviceName: deck
    51            servicePort: 80
    52        - path: /hook
    53          backend:
    54            serviceName: hook
    55            servicePort: 8888
    56        - path: /metrics
    57          backend:
    58            serviceName: pushgateway-external
    59            servicePort: 80