28 lines
698 B
YAML
28 lines
698 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: contact-app-ingress
|
|
annotations:
|
|
networking.gke.io/managed-certificates: contact-app-cert
|
|
kubernetes.io/ingress.global-static-ip-name: contact-app-ip
|
|
spec:
|
|
ingressClassName: gce
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: contact-app
|
|
port:
|
|
number: 80
|
|
---
|
|
apiVersion: networking.gke.io/v1
|
|
kind: ManagedCertificate
|
|
metadata:
|
|
name: contact-app-cert
|
|
spec:
|
|
domains:
|
|
# This will be populated with the automatic domain from GKE
|
|
- DOMAIN_PLACEHOLDER |