Skip to content

Commit

Permalink
Use random expression in deployments to ensure rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Nov 13, 2024
1 parent 41ef09e commit 07445ed
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions legacydb/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ parameters:
value: 3.5Gi
- name: MEMORY_LIMIT
value: 4Gi
- name: RANDOM_EXPRESSION
description: Random expression to make sure deployments update
from: "[a-zA-Z0-9]{32}"
generate: expression
objects:
- kind: Secret
apiVersion: v1
Expand Down Expand Up @@ -111,7 +115,9 @@ objects:
valueFrom:
secretKeyRef:
name: ${NAME}-${ZONE}
key: oracle-user-write
key: oracle-user-write
- name: RANDOM_EXPRESSION
value: ${RANDOM_EXPRESSION}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
Expand Down Expand Up @@ -243,4 +249,4 @@ objects:
restartPolicy: OnFailure
volumes:
- name: data-volume
emptyDir: {}
emptyDir: {}

0 comments on commit 07445ed

Please sign in to comment.