add: configmap, ingress + update deployment with env refs

This commit is contained in:
2026-04-07 11:33:31 +02:00
parent 8a9cb231eb
commit af25af08de
3 changed files with 40 additions and 0 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-nikolahrkac
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
spec:
rules:
- host: nikolahrkac.argocd.fpmoz.sum.ba
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: moj-servis-svc
port:
number: 80