Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
1. putting session pvc as parameter with default value to 25 Megs.

Signed-off-by: Sukanya Rath <[email protected]>
  • Loading branch information
sukanya-rath committed Aug 1, 2023
1 parent bae0c9b commit b3dc211
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci_cd_on_pr_dev_sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
echo "UI_PRIVATE_KEY<<$EOF" >> $GITHUB_OUTPUT
echo "$UI_PRIVATE_KEY_VAL" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
- uses: bcgov-nr/[email protected]
with:
file: common/openshift.init.yml
Expand Down
5 changes: 4 additions & 1 deletion backend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ parameters:
- name: COMPONENT_DB_MIGRATION
description: Component name for database migrations
value: database-migrations
- name: SESSION_PVC_SIZE
description: Size of the session PVC
value: "25Mi"

objects:
- apiVersion: v1
Expand Down Expand Up @@ -92,7 +95,7 @@ objects:
- ReadWriteMany
resources:
requests:
storage: "100Mi"
storage: ${SESSION_PVC_SIZE}
storageClassName: netapp-file-standard
- apiVersion: v1
kind: DeploymentConfig
Expand Down

0 comments on commit b3dc211

Please sign in to comment.