Skip to content

Commit 480b78f

Browse files
authored
Merge pull request #40 from starlord-daniel/patch-1
fix: connect database and secret
2 parents 11e363c + 0c9d57a commit 480b78f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

azure-votes-postgresql/manifests/postgres-votes-demo.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ spec:
2525
name: Standard_D4s_v3
2626
tier: GeneralPurpose
2727
administratorLogin: ${USERNAME}
28-
administratorLoginPassword: ${PASSWORD}
28+
administratorLoginPassword:
29+
name: postgres-secret
30+
key: PASSWORD
2931
storage:
3032
storageSizeGB: 128
3133
---
@@ -64,4 +66,4 @@ stringData:
6466
PASSWORD: "$PASSWORD"
6567
SERVER: "$SERVER.postgres.database.azure.com"
6668
DATABASE: "votedb"
67-
PORT: "5432"
69+
PORT: "5432"

0 commit comments

Comments
 (0)