Skip to content

Commit

Permalink
Add env var ENVIRONMENT for api-db
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Apr 26, 2024
1 parent b589921 commit c7b4e02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osm-seed/templates/db/db-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
value: {{ default "postgres" .Values.db.env.POSTGRES_USER | quote }}
- name: PGUSER
value: {{ default "postgres" .Values.db.env.POSTGRES_USER | quote }}
- name: ENVIRONMENT
value: {{ default "production" .Values.db.env.ENVIRONMENT | quote }}
- name: PGDATA
value: {{ .Values.db.persistenceDisk.mountPath }}
- name: POD_IP
Expand Down
1 change: 1 addition & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ db:
POSTGRES_DB: openstreetmap
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 1234
ENVIRONMENT: production
persistenceDisk:
enabled: false
mountPath: /var/lib/postgresql/data
Expand Down

0 comments on commit c7b4e02

Please sign in to comment.