add: Traefik ingress with custom host
This commit is contained in:
@@ -5,10 +5,12 @@ metadata:
|
|||||||
name: moj-servis-ingress
|
name: moj-servis-ingress
|
||||||
namespace: student-mirko416
|
namespace: student-mirko416
|
||||||
annotations:
|
annotations:
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||||
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
spec:
|
spec:
|
||||||
|
ingressClassName: traefik
|
||||||
rules:
|
rules:
|
||||||
- host: mirko416.argocd.fpmoz.sum.ba
|
- host: moj-servis-mirko416.argocd.fpmoz.sum.ba
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ spec:
|
|||||||
- port: 80
|
- port: 80
|
||||||
targetPort: 8000
|
targetPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
type: NodePort
|
type: ClusterIP
|
||||||
|
|||||||
Reference in New Issue
Block a user