fix: add TLS certificate to whoami ingress #49
@@ -3,16 +3,24 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
name: whoami
|
name: whoami
|
||||||
namespace: apps
|
namespace: apps
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||||
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- whoami.khalisio.com
|
||||||
|
secretName: whoami-tls
|
||||||
rules:
|
rules:
|
||||||
- host: whoami.khalisio.com
|
- host: whoami.khalisio.com
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: whoami
|
name: whoami
|
||||||
port:
|
port:
|
||||||
name: http
|
number: 80
|
||||||
|
|||||||
Reference in New Issue
Block a user