add ingress

This commit is contained in:
2026-04-07 11:34:10 +02:00
parent e9679a294e
commit 478b2e4984
3 changed files with 49 additions and 11 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: moj-servis-ingress
namespace: student-ivan-kajo
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
spec:
rules:
- host: ivan-kajo.argocd.fpmoz.sum.ba
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: moj-servis-svc
port:
number: 80