Skip to content

Commit

Permalink
Force deployment changes on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Aug 23, 2024
1 parent 81eaf0b commit ddc6e21
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ parameters:
- name: AWS_COGNITO_ISSUER_URI
description: AWS Cognito JWT Server URI
required: true
- name: RANDOM_EXPRESSION
description: Random expression to make sure deployments update
from: "[a-zA-Z0-9]{32}"
generate: expression
objects:
- apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -133,6 +137,8 @@ objects:
value: ${DB_POOL_MAX_LIFETIME}
- name: AWS_COGNITO_ISSUER_URI
value: ${AWS_COGNITO_ISSUER_URI}
- name: RANDOM_EXPRESSION
value: ${RANDOM_EXPRESSION}
resources:
requests:
cpu: ${CPU_REQUEST}
Expand Down
6 changes: 6 additions & 0 deletions frontend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ parameters:
- name: VITE_USER_POOLS_ID
description: AWS Cognito Pools ID
required: true
- name: RANDOM_EXPRESSION
description: Random expression to make sure deployments update
from: "[a-zA-Z0-9]{32}"
generate: expression
objects:
- apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -101,6 +105,8 @@ objects:
key: vite-user-pools-web-client-id
- name: VITE_ZONE
value: ${FAM_MODDED_ZONE}
- name: RANDOM_EXPRESSION
value: ${RANDOM_EXPRESSION}
resources:
requests:
cpu: ${CPU_REQUEST}
Expand Down
6 changes: 6 additions & 0 deletions oracle-api/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ parameters:
- name: CERT_PVC_SIZE
description: The amount of storage the cert PVC should have
value: 25Mi
- name: RANDOM_EXPRESSION
description: Random expression to make sure deployments update
from: "[a-zA-Z0-9]{32}"
generate: expression
objects:
- apiVersion: v1
kind: PersistentVolumeClaim
Expand Down Expand Up @@ -167,6 +171,8 @@ objects:
value: /cert/jssecacerts
- name: AWS_COGNITO_ISSUER_URI
value: ${AWS_COGNITO_ISSUER_URI}
- name: RANDOM_EXPRESSION
value: ${RANDOM_EXPRESSION}
volumeMounts:
- name: ${NAME}-${ZONE}-${COMPONENT}-certs
mountPath: /cert
Expand Down

0 comments on commit ddc6e21

Please sign in to comment.