k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/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: networking.k8s.io/v1
    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/ingress.class: "gce"
    23      networking.gke.io/managed-certificates: prow-k8s-io, prow-kubernetes-io
    24  spec:
    25    rules:
    26    - host: prow.k8s.io
    27      http:
    28        paths:
    29        - path: /*
    30          pathType: ImplementationSpecific
    31          backend:
    32            service:
    33              name: deck
    34              port:
    35                number: 80
    36        - path: /hook
    37          pathType: ImplementationSpecific
    38          backend:
    39            service:
    40              name: hook
    41              port:
    42                number: 8888
    43        - path: /metrics
    44          pathType: ImplementationSpecific
    45          backend:
    46            service:
    47              name: pushgateway-external
    48              port:
    49                number: 80
    50    - host: prow.kubernetes.io
    51      http:
    52        paths:
    53        - path: /*
    54          pathType: ImplementationSpecific
    55          backend:
    56            service:
    57              name: deck
    58              port:
    59                number: 80
    60        - path: /hook
    61          pathType: ImplementationSpecific
    62          backend:
    63            service:
    64              name: hook
    65              port:
    66                number: 8888
    67        - path: /metrics
    68          pathType: ImplementationSpecific
    69          backend:
    70            service:
    71              name: pushgateway-external
    72              port:
    73                number: 80