add: Traefik ingress with custom host

This commit is contained in:
2026-05-02 23:54:21 +02:00
parent 0d09509cb4
commit c1196b075c
2 changed files with 6 additions and 3 deletions

View File

@@ -4,10 +4,13 @@ metadata:
name: moj-servis-ingress
namespace: student-martabulic
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
# ── Traefik specifične opcije ──
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
ingressClassName: traefik
rules:
- host: martabulic.argocd.fpmoz.sum.ba
- host: moj-servis-martabulic.argocd.fpmoz.sum.ba
http:
paths:
- path: /

View File

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