This commit is contained in:
ITO Mac
2026-05-19 10:53:09 +02:00
parent 676eb30826
commit 35d0d4b3b9
9 changed files with 182 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: app-config
namespace: student-blazp04
data:
POSTGRES_HOST: "postgres-service"
POSTGRES_PORT: "5432"
POSTGRES_DB: "appdb"

View File

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

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: postgres-secret
namespace: student-blazp04
type: Opaque
data:
# echo -n "appuser" | base64
POSTGRES_USER: YXBwdXNlcg==
# echo -n "changeme" | base64
POSTGRES_PASSWORD: Y2hhbmdlbWU=