diff --git a/deploy/k8s/emptydir-volume/webapi/configmap.yaml b/deploy/k8s/emptydir-volume/webapi/configmap.yaml index b0f3f98..2b5b9a8 100644 --- a/deploy/k8s/emptydir-volume/webapi/configmap.yaml +++ b/deploy/k8s/emptydir-volume/webapi/configmap.yaml @@ -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' diff --git a/deploy/k8s/emptydir-volume/webapi/deployment.yaml b/deploy/k8s/emptydir-volume/webapi/deployment.yaml index 5ec2e8c..98f6467 100644 --- a/deploy/k8s/emptydir-volume/webapi/deployment.yaml +++ b/deploy/k8s/emptydir-volume/webapi/deployment.yaml @@ -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: