33 lines
715 B
YAML
33 lines
715 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: frenworld-archive-ingress
|
|
labels:
|
|
name: frenworld-archive-ingress
|
|
spec:
|
|
rules:
|
|
- host: frenworld-archive.io
|
|
http:
|
|
paths:
|
|
- pathType: Prefix
|
|
path: "/"
|
|
backend:
|
|
service:
|
|
name: frenworld-archive-svc
|
|
port:
|
|
number: 80
|
|
- host: www.frenworld-archive.io
|
|
http:
|
|
paths:
|
|
- pathType: Prefix
|
|
path: "/"
|
|
backend:
|
|
service:
|
|
name: frenworld-archive-svc
|
|
port:
|
|
number: 80
|
|
tls:
|
|
- hosts:
|
|
- frenworld-archive.io
|
|
- www.frenworld-archive.io
|
|
secretName: cert-frenworld-archive-io |