Skip to content

Commit

Permalink
updated secret and added gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
10alejospain committed Dec 5, 2023
1 parent b88d2b6 commit 1e29930
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*.csv
*.csv
*.env
*.vantage.yaml
1 change: 1 addition & 0 deletions kubernetes/bare-kubernetes/001_OMOP-Secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ metadata:
name: omop-secrets
type: Opaque
data:
POSTGRES_USER: cG9zdGdyZXM= # postgres in base64
POSTGRES_PASSWORD: bXlzZWNyZXRwYXNzd29yZA== # mysecretpassword in base64
4 changes: 3 additions & 1 deletion kubernetes/bare-kubernetes/002_OMOP-CDM-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ spec:
imagePullPolicy: IfNotPresent
env:
- name: POSTGRES_USER
value: postgres
secretKeyRef:
name: omop-secrets
key: POSTGRES_USER
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
Expand Down
5 changes: 4 additions & 1 deletion kubernetes/bare-kubernetes/004_OMOP-Vocab-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ spec:
- name: VOCAB_PG_DATABASE
value: omopdb
- name: VOCAB_PG_USER
value: postgres
valueFrom:
secretKeyRef:
name: omop-secrets
key: POSTGRES_USER
- name: VOCAB_PG_PASSWORD
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit 1e29930

Please sign in to comment.