File tree 2 files changed +17
-18
lines changed
2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 71
71
ports :
72
72
- port : 5432
73
73
targetPort : 5432
74
-
75
- ---
76
- # This secret can also be created from the command line using environment variables
77
- #
78
- # export DATABASE_URI='postgresql+psycopg://<userid>:<password>@<hostname>:<port>/<database-name>'
79
- # export POSTGRES_PASSWORD='<place-password-here>'
80
- #
81
- # kubectl create secret generic postgres-creds \
82
- # --from-literal=password=$POSTGRES_PASSWORD
83
- # --from-literal=database_uri=$DATABASE_URI
84
- #
85
- apiVersion : v1
86
- kind : Secret
87
- metadata :
88
- name : postgres-creds
89
- data :
90
- password : cG9zdGdyZXM=
91
- database_uri : cG9zdGdyZXNxbCtwc3ljb3BnOi8vcG9zdGdyZXM6cG9zdGdyZXNAcG9zdGdyZXM6NTQzMi9wb3N0Z3Jlcw==
Original file line number Diff line number Diff line change
1
+ ---
2
+ # This secret can also be created from the command line using environment variables
3
+ #
4
+ # export DATABASE_URI='postgresql+psycopg://<userid>:<password>@<hostname>:<port>/<database-name>'
5
+ # export POSTGRES_PASSWORD='<place-password-here>'
6
+ #
7
+ # kubectl create secret generic postgres-creds \
8
+ # --from-literal=password=$POSTGRES_PASSWORD
9
+ # --from-literal=database_uri=$DATABASE_URI
10
+ #
11
+ apiVersion : v1
12
+ kind : Secret
13
+ metadata :
14
+ name : postgres-creds
15
+ data :
16
+ password : cG9zdGdyZXM=
17
+ database_uri : cG9zdGdyZXNxbCtwc3ljb3BnOi8vcG9zdGdyZXM6cG9zdGdyZXNAcG9zdGdyZXM6NTQzMi9wb3N0Z3Jlcw==
You can’t perform that action at this time.
0 commit comments