init
This commit is contained in:
9
manifests/config/configmap.yaml
Normal file
9
manifests/config/configmap.yaml
Normal 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"
|
||||
6
manifests/config/namespace.yaml
Normal file
6
manifests/config/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: student-blazp04
|
||||
labels:
|
||||
managed-by: argocd
|
||||
11
manifests/config/secret.yaml
Normal file
11
manifests/config/secret.yaml
Normal 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=
|
||||
Reference in New Issue
Block a user