add: configmap, ingress + update deployment with env refs
This commit is contained in:
@@ -6,6 +6,14 @@ app = FastAPI()
|
|||||||
def root():
|
def root():
|
||||||
return {"message": "Pozdrav svijete"}
|
return {"message": "Pozdrav svijete"}
|
||||||
|
|
||||||
|
@app.get("/info")
|
||||||
|
def info():
|
||||||
|
return {
|
||||||
|
"python": platform.python_version(),
|
||||||
|
"verzija": "2.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
def health():
|
def health():
|
||||||
|
|||||||
1
manifesti
Submodule
1
manifesti
Submodule
Submodule manifesti added at 36538872fc
Reference in New Issue
Block a user