Skip to content

Commit

Permalink
Add jwt_expire environment variable to webapi configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
prasadhonrao committed Oct 26, 2024
1 parent ea641bb commit 6d1fe0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/k8s/emptydir-volume/webapi/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ data:
mongodb_db_name: 'devcamper-db'
mongodb_db_params: 'authSource=admin'
geocoder_provider: 'mapquest'
jwt_expire: '30d'
jwt_cookie_expire: '30'
file_upload_path: './public/uploads'
max_file_upload: '1000000'
Expand Down
5 changes: 5 additions & 0 deletions deploy/k8s/emptydir-volume/webapi/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ spec:
configMapKeyRef:
name: devcamper-webapi-configmap
key: geocoder_provider
- name: jwt_expire
valueFrom:
configMapKeyRef:
name: devcamper-webapi-configmap
key: jwt_expire
- name: jwt_cookie_expire
valueFrom:
configMapKeyRef:
Expand Down

0 comments on commit 6d1fe0c

Please sign in to comment.