update namespace names

This commit is contained in:
2026-06-25 01:10:27 +02:00
parent 19eacf72ed
commit 88196abe6c
4 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ app = FastAPI()
@app.get("/")
def root():
return {"message": "Pozdrav svijete!", "autor": "GalicIvan"}
return {"message": "Pozdrav svijete!", "autor": "galicivan"}
@app.get("/health")
def health():

View File

@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: priprema-za-kolokvij
namespace: student-GalicIvan
namespace: student-galicivan
spec:
replicas: 1
selector:
@@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: priprema-za-kolokvij
image: git.fpmoz.sum.ba/GalicIvan/priprema-za-kolokvij:1.0
image: git.fpmoz.sum.ba/galicivan/priprema-za-kolokvij:1.0
ports:
- containerPort: 8000
resources:

View File

@@ -2,11 +2,11 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: priprema-ingress
namespace: student-GalicIvan
namespace: student-galicivan
spec:
ingressClassName: traefik
rules:
- host: GalicIvan.argocd.fpmoz.sum.ba
- host: galicivan.argocd.fpmoz.sum.ba
http:
paths:
- path: /

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: priprema-svc
namespace: student-GalicIvan
namespace: student-galicivan
spec:
selector:
app: priprema-za-kolokvij # spaja Service s Podovima koji imaju ovaj label