fix namespace
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: fastapi-api
|
||||
namespace: student-<vas-username>
|
||||
namespace: student-iva
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "1" # deploy NAKON baze
|
||||
spec:
|
||||
@@ -17,7 +17,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: fastapi-api
|
||||
image: vasic/fastapi-todo-api:1.0
|
||||
image: dvasic/fastapi-todo-api:1.0
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
env:
|
||||
|
||||
@@ -2,13 +2,13 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: fastapi-api-ingress
|
||||
namespace: student-<vas-username>
|
||||
namespace: student-iva
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
rules:
|
||||
- host: <vas-username>.fpmoz.sum.ba # zamijenite!
|
||||
- host: iva.fpmoz.sum.ba # zamijenite!
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@@ -20,5 +20,5 @@ spec:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- <vas-username>.fpmoz.sum.ba
|
||||
- iva.fpmoz.sum.ba
|
||||
secretName: fastapi-api-tls
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: fastapi-api-service
|
||||
namespace: student-<vas-username>
|
||||
namespace: student-iva
|
||||
spec:
|
||||
selector:
|
||||
app: fastapi-api
|
||||
|
||||
Reference in New Issue
Block a user