Skip to content

Instantly share code, notes, and snippets.

@wanderindev
Last active June 29, 2022 05:04
Show Gist options
  • Select an option

  • Save wanderindev/6b4c03b60fb6337ace0a8928b25e9dd8 to your computer and use it in GitHub Desktop.

Select an option

Save wanderindev/6b4c03b60fb6337ace0a8928b25e9dd8 to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: wid-ingress
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- anafeliu.com
- www.anafeliu.com
- earth-mars-and-beyond.com
- www.earth-mars-and-beyond.com
- api.earth-mars-and-beyond.com
. . . .
secretName: letsencrypt-prod
rules:
- host: anafeliu.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: anafeliu-web
port:
number: 80
- host: www.anafeliu.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: anafeliu-web
port:
number: 80
- host: earth-mars-and-beyond.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: emb-web
port:
number: 80
- host: www.earth-mars-and-beyond.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: emb-web
port:
number: 80
- host: api.earth-mars-and-beyond.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: api-emb
port:
number: 80
. . . .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment