Skip to content

Commit

Permalink
infra
Browse files Browse the repository at this point in the history
  • Loading branch information
alexinthesky committed Jan 6, 2025
1 parent 99a7367 commit b14b391
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deployment/app/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ spec:
name: postgresql-secrets
env:
- name: DATABASE_URL
value: "postgresql://craig:$(pg-user-password)@app-craig-bot-postgresql:5432/craig?schema=public"
value: "postgresql://craig:$(pg-user-password)@app-craig-bot-postgresql:5432/craig?schema=public"
- name: REDIS_HOST
value: app-craig-bot-redis
- name: REDIS_PORT
value: "6379"
9 changes: 9 additions & 0 deletions deployment/argocd/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,22 @@ spec:
targetRevision: 16.3.5
helm:
values: |
primary:
resourcesPreset: small
auth:
existingSecret: postgresql-secrets
database: craig
username: craig
secretKeys:
adminPasswordKey: pg-admin-password
userPasswordKey: pg-user-password
- chart: redis
repoURL: registry-1.docker.io/bitnamicharts
targetRevision: 20.6.1
helm:
values: |
master:
resourcesPreset: small
syncPolicy:
automated:
prune: true
Expand Down

0 comments on commit b14b391

Please sign in to comment.