From 33c4f5e6f702ae6608743cfddc3d34785d364795 Mon Sep 17 00:00:00 2001 From: Ivan Filipovic Date: Tue, 7 Apr 2026 11:35:20 +0200 Subject: [PATCH] add: configmap, ingress + update deployment with env refs --- app/main.py | 8 ++++++++ manifesti | 1 + 2 files changed, 9 insertions(+) create mode 160000 manifesti diff --git a/app/main.py b/app/main.py index 621bf8d..9bbf146 100644 --- a/app/main.py +++ b/app/main.py @@ -6,6 +6,14 @@ app = FastAPI() def root(): return {"message": "Pozdrav svijete"} +@app.get("/info") +def info(): + return { + "python": platform.python_version(), + "verzija": "2.0" + } + + @app.get("/health") def health(): diff --git a/manifesti b/manifesti new file mode 160000 index 0000000..3653887 --- /dev/null +++ b/manifesti @@ -0,0 +1 @@ +Subproject commit 36538872fc91e454b09eafb180334c8c6538c9f1