feat: v2 - dodan /info endpoint, update image tag 1.0 -> 2.0

This commit is contained in:
2026-05-26 10:54:52 +02:00
parent 121f53776e
commit e58bfa7960
2 changed files with 6 additions and 2 deletions

View File

@@ -8,4 +8,8 @@ def root():
@app.get("/health")
def health():
return {"status": "ok"}
return {"status": "ok"}
@app.get("/info")
def info():
return {"servis": "priprema-za-kolokvij", "verzija": "2.0"}

View File

@@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: priprema-za-kolokvij
image: git.fpmoz.sum.ba/mirko416/priprema-za-kolokvij:1.0
image: git.fpmoz.sum.ba/mirko416/priprema-za-kolokvij:2.0
ports:
- containerPort: 8000
resources: