Skip to content

Commit

Permalink
Add STORAGE env values for web
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jan 22, 2025
1 parent dfa89b5 commit be97794
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions osm-seed/templates/web/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ spec:
value: {{ .Values.web.env.RAILS_ENV | quote }}
- name: RAILS_LOG_LEVEL
value: {{ .Values.web.env.RAILS_LOG_LEVEL | default "info" | quote }}
- name: RAILS_STORAGE_SERVICE
value: {{ .Values.web.env.RAILS_STORAGE_SERVICE | default "local" | quote }}
- name: RAILS_STORAGE_REGION
value: {{ .Values.web.env.RAILS_STORAGE_REGION | quote }}
- name: RAILS_STORAGE_BUCKET
value: {{ .Values.web.env.RAILS_STORAGE_BUCKET | quote }}
volumeMounts:
- mountPath: /dev/shm
name: shared-memory
Expand Down
3 changes: 3 additions & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ web:
RAILS_MASTER_KEY: none
RAILS_CREDENTIALS_YML_ENC: none
RAILS_LOG_LEVEL: info
RAILS_STORAGE_SERVICE: local
RAILS_STORAGE_REGION: us-east-1
RAILS_STORAGE_BUCKET: osmseed-website-bucket
resources:
enabled: false
requests:
Expand Down

0 comments on commit be97794

Please sign in to comment.