add: Traefik ingress with custom host
This commit is contained in:
@@ -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: /
|
||||
|
||||
@@ -11,4 +11,4 @@ spec:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
protocol: TCP
|
||||
type: NodePort
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user