diff --git a/app/main.py b/app/main.py index 89fd921..02e6bd4 100644 --- a/app/main.py +++ b/app/main.py @@ -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(): diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index f3c880c..9096a8f 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -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: diff --git a/k8s/ingress.yaml b/k8s/ingress.yaml index c3e8420..21b0a21 100644 --- a/k8s/ingress.yaml +++ b/k8s/ingress.yaml @@ -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: / diff --git a/k8s/service.yaml b/k8s/service.yaml index 94eab93..bdcff1e 100644 --- a/k8s/service.yaml +++ b/k8s/service.yaml @@ -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