Small stuff mostly I think...
This commit is contained in:
parent
d7ea6a2f58
commit
777a6bb697
3 changed files with 8 additions and 2 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
|
@ -332,7 +332,7 @@ jobs:
|
||||||
# Verify that the site starts up after the restore
|
# Verify that the site starts up after the restore
|
||||||
- name: Verify Restore
|
- name: Verify Restore
|
||||||
run: |
|
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
|
MAX_RETRIES=5
|
||||||
RETRY_INTERVAL=30
|
RETRY_INTERVAL=30
|
||||||
|
|
@ -344,7 +344,7 @@ jobs:
|
||||||
sleep $RETRY_INTERVAL
|
sleep $RETRY_INTERVAL
|
||||||
|
|
||||||
# Get the current status of the site
|
# 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
|
# Increment the retry count
|
||||||
RETRY_COUNT=$((RETRY_COUNT + 1))
|
RETRY_COUNT=$((RETRY_COUNT + 1))
|
||||||
|
|
|
||||||
|
|
@ -388,6 +388,8 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ .Release.Name }}-cache-credentials
|
name: {{ .Release.Name }}-cache-credentials
|
||||||
key: password
|
key: password
|
||||||
|
- name: INITIAL_USER_ID
|
||||||
|
value: {{ .Values.initialUserID | quote }}
|
||||||
{{- if .Values.vault.create.snapshotServer.enabled }}
|
{{- if .Values.vault.create.snapshotServer.enabled }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
# Mount for a shared volume for Vault credentials
|
# Mount for a shared volume for Vault credentials
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,10 @@ container:
|
||||||
# The timestamp of the backup that the entrypoint script should wait for a restore to complete
|
# The timestamp of the backup that the entrypoint script should wait for a restore to complete
|
||||||
restoreFromBackup: ""
|
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:
|
ingress:
|
||||||
# We want an ingress resource if we are deploying to a cluster that has a ingress controller/load balancer
|
# 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
|
# This includes most public cloud providers like EKS, GKE, and AKS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue