add: Traefik ingress with custom host

This commit is contained in:
2026-05-01 12:35:08 +02:00
parent 424a82aaaa
commit 2bf5debbfd
2 changed files with 14 additions and 12 deletions

View File

@@ -4,10 +4,12 @@ metadata:
name: moj-servis-ingress
namespace: student-leonarda11
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
ingressClassName: traefik
rules:
- host: leonarda11.argocd.fpmoz.sum.ba
- host: moj-servis-leonarda11.argocd.fpmoz.sum.ba
http:
paths:
- path: /

View File

@@ -10,4 +10,4 @@ spec:
- port: 80
targetPort: 8000
protocol: TCP
type: NodePort
type: ClusterIP