Skip to content

Commit

Permalink
Update template
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Aug 5, 2024
1 parent b790485 commit 288a922
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions oc-process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ if [ "$BRANCH" != "main" ]; then
HOST=$HOST_DEV
FINBIF_PRIVATE_API="dev"
DB_PASSWORD=$DB_PASSWORD_DEV
MEMORY=$MEMORY_DEV

fi

Expand Down Expand Up @@ -93,4 +94,5 @@ oc process -f $f \
-p SMTP_PORT="$SMTP_PORT" \
-p ERROR_EMAIL_TO="$ERROR_EMAIL_TO" \
-p ERROR_EMAIL_FROM="$ERROR_EMAIL_FROM" \
-p MEMORY="$MEMORY" \
| jq $ITEM
6 changes: 4 additions & 2 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ parameters:
required: true
- name: ERROR_EMAIL_FROM
required: true
- name: MEMORY
required: true
metadata:
name: ${APP}
objects:
Expand Down Expand Up @@ -161,7 +163,7 @@ objects:
resources:
limits:
cpu: "2000m"
memory: "2Gi"
memory: ${MEMORY}
- kind: Deployment
apiVersion: apps/v1
metadata:
Expand Down Expand Up @@ -243,7 +245,7 @@ objects:
resources:
limits:
cpu: "2000m"
memory: "2Gi"
memory: ${MEMORY}
- kind: Deployment
apiVersion: apps/v1
metadata:
Expand Down

0 comments on commit 288a922

Please sign in to comment.