github.com/jenkins-x/test-infra@v0.0.7/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    namespace: default
    19    name: tls-ing
    20    annotations:
    21      kubernetes.io/ingress.global-static-ip-name: prow
    22      kubernetes.io/tls-acme: "true"
    23      certmanager.k8s.io/cluster-issuer: letsencrypt-prod
    24      certmanager.k8s.io/acme-http01-edit-in-place: "true"
    25      kubernetes.io/ingress.class: "gce"
    26  spec:
    27    tls:
    28    - secretName: prow-tls
    29      hosts:
    30      - prow.k8s.io
    31      - prow.kubernetes.io
    32    rules:
    33    - host: prow.k8s.io
    34      http:
    35        paths:
    36        - path: /*
    37          backend:
    38            serviceName: deck
    39            servicePort: 80
    40        - path: /hook
    41          backend:
    42            serviceName: hook
    43            servicePort: 8888
    44        - path: /metrics
    45          backend:
    46            serviceName: pushgateway-external
    47            servicePort: 80
    48    - host: prow.kubernetes.io
    49      http:
    50        paths:
    51        - path: /*
    52          backend:
    53            serviceName: deck
    54            servicePort: 80
    55        - path: /hook
    56          backend:
    57            serviceName: hook
    58            servicePort: 8888
    59        - path: /metrics
    60          backend:
    61            serviceName: pushgateway-external
    62            servicePort: 80