golang.org/x/build@v0.0.0-20240506185731-218518f32b70/deploy/gomote-ingress.yaml (about) 1 # Copyright 2023 The Go Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style 3 # license that can be found in the LICENSE file. 4 5 apiVersion: networking.k8s.io/v1 6 kind: Ingress 7 metadata: 8 namespace: prod 9 name: gomoteserver-ingress 10 annotations: 11 kubernetes.io/ingress.global-static-ip-name: gomote-web-golang-org 12 networking.gke.io/managed-certificates: gomoteserver-cert 13 kubernetes.io/ingress.class: "gce" 14 networking.gke.io/v1beta1.FrontendConfig: gomoteserver-ingress-frontend 15 spec: 16 rules: 17 - host: gomote.golang.org 18 http: 19 paths: 20 - pathType: ImplementationSpecific 21 path: /protos.GomoteService/* 22 backend: 23 service: 24 name: gomoteserver-internal-iap 25 port: 26 number: 444 27 - pathType: ImplementationSpecific 28 path: /* 29 backend: 30 service: 31 name: gomoteserver-internal 32 port: 33 number: 444 34 --- 35 apiVersion: networking.gke.io/v1beta1 36 kind: FrontendConfig 37 metadata: 38 namespace: prod 39 name: gomoteserver-ingress-frontend 40 spec: 41 redirectToHttps: 42 enabled: true 43 responseCodeName: FOUND 44 --- 45 apiVersion: networking.gke.io/v1 46 kind: ManagedCertificate 47 metadata: 48 namespace: prod 49 name: gomoteserver-cert 50 spec: 51 domains: 52 - gomote.golang.org