Small stuff mostly I think...

This commit is contained in:
Alan Bridgeman 2025-05-15 01:18:14 -05:00
parent d7ea6a2f58
commit 777a6bb697
3 changed files with 8 additions and 2 deletions

View file

@ -332,7 +332,7 @@ jobs:
# Verify that the site starts up after the restore
- name: Verify Restore
run: |
SITE_REQUEST_STATUS_CODE=$(curl -sSL https://$SITE_HOSTNAME -w '%{http_code}' -o /dev/null)
SITE_REQUEST_STATUS_CODE=$(curl -sSL https://${{ env.SITE_HOSTNAME }} -w '%{http_code}' -o /dev/null)
MAX_RETRIES=5
RETRY_INTERVAL=30
@ -344,7 +344,7 @@ jobs:
sleep $RETRY_INTERVAL
# Get the current status of the site
SITE_REQUEST_STATUS_CODE=$(curl -sSL http://account.bridgemanaccessible.ca -w '%{http_code}' -o /dev/null)
SITE_REQUEST_STATUS_CODE=$(curl -sSL http://${{ env.SITE_HOSTNAME }} -w '%{http_code}' -o /dev/null)
# Increment the retry count
RETRY_COUNT=$((RETRY_COUNT + 1))

View file

@ -388,6 +388,8 @@ spec:
secretKeyRef:
name: {{ .Release.Name }}-cache-credentials
key: password
- name: INITIAL_USER_ID
value: {{ .Values.initialUserID | quote }}
{{- if .Values.vault.create.snapshotServer.enabled }}
volumeMounts:
# Mount for a shared volume for Vault credentials

View file

@ -26,6 +26,10 @@ container:
# The timestamp of the backup that the entrypoint script should wait for a restore to complete
restoreFromBackup: ""
# The ID of the first/initial user
# This is because AT LEAST one user must be setup to setup everything else
initialUserID: <user ID>
ingress:
# We want an ingress resource if we are deploying to a cluster that has a ingress controller/load balancer
# This includes most public cloud providers like EKS, GKE, and AKS