We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b7e419 commit 9ca6f72Copy full SHA for 9ca6f72
deploy/app-pod.yaml
@@ -19,7 +19,7 @@ spec:
19
- configMapRef:
20
name: app
21
- secretRef:
22
- name: app
+ name: app-db
23
securityContext:
24
runAsUser: 920
25
runAsGroup: 920
@@ -48,7 +48,7 @@ spec:
48
49
50
51
+ name: app-api
52
53
runAsUser: 921
54
runAsGroup: 921
deploy/app-secrets.example.yaml
@@ -1,9 +1,16 @@
1
apiVersion: v1
2
kind: Secret
3
metadata:
4
5
stringData:
6
POSTGRES_USER: pguser
7
POSTGRES_PASSWORD: pgsecret
8
POSTGRES_DB: app
9
+---
10
+apiVersion: v1
11
+kind: Secret
12
+metadata:
13
14
+stringData:
15
DATABASE_URL: postgresql+asyncpg://pguser:pgsecret@db:5432/app
16
+ SECRET_KEY: Secret123
0 commit comments