add: configmap, ingress + update deployment with env refs

This commit is contained in:
2026-04-07 12:07:31 +02:00
parent 9d52f7d4db
commit 43892d9012
4 changed files with 86 additions and 0 deletions

20
ingress.yaml Normal file
View File

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