This commit is contained in:
ITO Mac
2026-06-08 21:32:34 +02:00
parent f8392b3d23
commit 8a2315c9b3
9 changed files with 180 additions and 0 deletions

9
config/configmap.yaml Normal file
View File

@@ -0,0 +1,9 @@
apiVersion: v1
data:
APP_ENV: production
DATABASE_HOST: postgres
DATABASE_PORT: "5432"
kind: ConfigMap
metadata:
name: fastapi-config
namespace: student-blazp04

6
config/namespace.yaml Normal file
View File

@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: student-blazp04
labels:
menanged-by: argocd

9
config/secret.yaml Normal file
View File

@@ -0,0 +1,9 @@
apiVersion: v1
data:
POSTGRES_DB: ZmFzdGFwaWRi
POSTGRES_PASSWORD: c3R1ZGVudDEyMw==
POSTGRES_USER: ZmFzdGFwaXVzZXI=
kind: Secret
metadata:
name: postgres-secret
namespace: student-blazp04