feat: verzija v2.0
All checks were successful
CI/CD Pipeline / build (push) Successful in 1m38s
CI/CD Pipeline / deploy (push) Successful in 1m36s

This commit is contained in:
Ivan Filipovic
2026-04-20 23:11:02 +02:00
parent 87d5da322f
commit 9d98f5b466
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ spec:
- containerPort: 8000 - containerPort: 8000
env: env:
- name: APP_VERSION - name: APP_VERSION
value: "latest" value: "v2.0"
resources: resources:
requests: {cpu: 50m, memory: 64Mi} requests: {cpu: 50m, memory: 64Mi}
limits: {cpu: 200m, memory: 128Mi} limits: {cpu: 200m, memory: 128Mi}

View File

@@ -8,7 +8,7 @@ app = FastAPI()
def health(): def health():
return { return {
"status": "ok", "status": "ok",
"version": os.getenv("APP_VERSION", "dev"), "version": os.getenv("deployment.yaml", "dev"),
"timestamp": datetime.datetime.utcnow().isoformat() "timestamp": datetime.datetime.utcnow().isoformat()
} }