28 lines
867 B
YAML
28 lines
867 B
YAML
# À aligner sur la conf Traefik / cert-manager d'Arthur (cf. /Users/arthurbarre/dev/perso/proxmox).
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: ordinarthur-os
|
|
namespace: ordinarthur-os
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
spec:
|
|
tls:
|
|
- hosts: [os.arthurbarre.fr, api.os.arthurbarre.fr]
|
|
secretName: ordinarthur-os-tls
|
|
rules:
|
|
- host: os.arthurbarre.fr
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend: { service: { name: pwa, port: { number: 80 } } }
|
|
- host: api.os.arthurbarre.fr
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend: { service: { name: api, port: { number: 3000 } } }
|