update namespace names
This commit is contained in:
@@ -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():
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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: /
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user