Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update main.yml to deploy to Nadcloud using new s2/b2 domain naming convention
Pre-Deployment Note
Before running this deploy, the new domain(s) must be added to each existing Hyku tenant as additional allowed domains.
This ensures that tenants currently accessible via the old domains continue to function and can be accessed via the new
s2/b2domains once the deployment completes.Story
Now that the client’s legacy AWS Hyku site has been decommissioned, we’re swapping the Nadcloud deployment domains from the previous
s3/b3naming convention tos2/b2. This ensures Nadcloud environments are deployed on the correct hostnames and receive TLS certificates automatically as part of the existing Ansible + certbot workflow.Refs
Adventist: scale down cluster #1034
What Changed
Updated
main.ymlto replace the legacy Nadcloud domains:s3.adventistdigitallibrary.orgb3.adventistdigitallibrary.orgNew deployments now use:
s2.adventistdigitallibrary.orgb2.adventistdigitallibrary.orgDomain changes are picked up by Ansible and used during certbot certificate issuance.
Expected Behavior Before Changes
Deployments reference the old Nadcloud domains:
s3.adventistdigitallibrary.orgb3.adventistdigitallibrary.orgTLS certificates (where present) are issued for the old hostnames.
Expected Behavior After Changes
Deployments reference the new Nadcloud domains:
s2.adventistdigitallibrary.orgb2.adventistdigitallibrary.orgOn deployment, environments are created/updated using the new domains.
Certbot automatically issues/renews certificates for
s2.adventistdigitallibrary.organdb2.adventistdigitallibrary.orgas part of the Ansible deploy.