From 30b4b557aacb0dea920450b9b9a8c4ffcb019a30 Mon Sep 17 00:00:00 2001 From: Arnaud Meukam Date: Thu, 17 Jun 2021 22:45:50 +0200 Subject: [PATCH] k8s-infra-prow: add ingress and GKE managed certificate Signed-off-by: Arnaud Meukam --- .../cluster/prow_ingress.yaml | 22 +++++++++++++++++++ .../cluster/prow_managedcertificate.yaml | 8 +++++++ 2 files changed, 30 insertions(+) create mode 100644 k8s-infra-prow.k8s.io/cluster/prow_ingress.yaml create mode 100644 k8s-infra-prow.k8s.io/cluster/prow_managedcertificate.yaml diff --git a/k8s-infra-prow.k8s.io/cluster/prow_ingress.yaml b/k8s-infra-prow.k8s.io/cluster/prow_ingress.yaml new file mode 100644 index 00000000000..4d1a0b72269 --- /dev/null +++ b/k8s-infra-prow.k8s.io/cluster/prow_ingress.yaml @@ -0,0 +1,22 @@ +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: k8s-infra-prow-k8s-io + namespace: prow + annotations: + kubernetes.io/ingress.class: "gce" + kubernetes.io/ingress.global-static-ip-name: k8s-infra-prow + networking.gke.io/managed-certificates: k8s-infra-prow-k8s-io +spec: + rules: + - host: k8s-infra-prow.k8s.io + http: + paths: + - path: /* + backend: + serviceName: deck + servicePort: 80 + - path: /hook + backend: + serviceName: hook + servicePort: 8888 \ No newline at end of file diff --git a/k8s-infra-prow.k8s.io/cluster/prow_managedcertificate.yaml b/k8s-infra-prow.k8s.io/cluster/prow_managedcertificate.yaml new file mode 100644 index 00000000000..e57f1d81ee8 --- /dev/null +++ b/k8s-infra-prow.k8s.io/cluster/prow_managedcertificate.yaml @@ -0,0 +1,8 @@ +apiVersion: networking.gke.io/v1 +kind: ManagedCertificate +metadata: + name: k8s-infra-prow-k8s-io + namespace: prow +spec: + domains: + - k8s-infra-prow.k8s.io \ No newline at end of file