mirror of
https://github.com/wahyd4/scraper.git
synced 2026-08-09 05:06:22 +10:00
update postgres to internal dns one
This commit is contained in:
@@ -40,8 +40,8 @@ var (
|
||||
|
||||
func main() {
|
||||
dbConfig := config.Config{
|
||||
Host: getEnvWithDefault("HOST", "home.toozhao.com"),
|
||||
Port: getEnvWithDefault("PORT", "0000"),
|
||||
Host: getEnvWithDefault("HOST", "new-postgres-postgresql.db.svc.cluster.local"),
|
||||
Port: getEnvWithDefault("PORT", "5432"),
|
||||
DBName: getEnvWithDefault("DB_NAME", "house_auctions"),
|
||||
Username: getEnvWithDefault("DB_USERNAME", "someuser"),
|
||||
Password: getEnvWithDefault("DB_PASSWORD", "hahah"),
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ spec:
|
||||
- name: DB_PASSWORD
|
||||
valueFrom: {secretKeyRef: {name: database-credentials, key: password}}
|
||||
- name: PORT
|
||||
value: "32222"
|
||||
value: "5432"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
|
||||
Reference in New Issue
Block a user