24 lines
509 B
YAML
24 lines
509 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: digital-garden-ingress
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
spec:
|
|
rules:
|
|
- host: www.groothuis.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: digital-garden-svc
|
|
port:
|
|
number: 8080
|
|
tls:
|
|
- hosts:
|
|
- groothuis.io
|
|
- www.groothuis.io
|
|
secretName: letsencrypt
|