add: configmap, ingress + update deployment with env refs

This commit is contained in:
2026-04-13 21:09:24 +02:00
parent 4008c5a3f4
commit 9e0e04dc89
3 changed files with 57 additions and 12 deletions

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-VAŠ_KORISNIK
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
spec:
rules:
- host: VAŠ_KORISNIK.argocd.fpmoz.sum.ba
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: moj-servis-svc
port:
number: 80