Skip to content

Commit

Permalink
fix: use tls 1.2 in canary deployment (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleGedd authored Sep 23, 2024
1 parent 4465617 commit 08b5bdc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/test-infra/terraform/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
git clone https://github.com/defenseunicorns/uds-k3d.git

# Define the file path
file_path="uds-k3d/chart/templates/nginx.yaml"
file_path="uds-k3d/chart/templates/nginx.yaml"

# # Replace 'uds.dev' with 'exploding.boats'
sed -i 's/uds\.dev/burning.boats/g' "$file_path"
sed -i 's/uds\.dev/burning.boats/g' "$file_path"

# # Deploy cluster
cd uds-k3d && uds run
Expand All @@ -31,9 +31,14 @@ TLS_KEY=$(aws secretsmanager get-secret-value --secret-id "runtime-tls-key" --qu

export UDS_ADMIN_TLS_CERT=$TLS_CERT
export UDS_ADMIN_TLS_KEY=$TLS_KEY

# Enable TLS 1.2 support for admin gateway to support route53 health checks:
# https://docs.aws.amazon.com/Route53/latest/APIReference/API_HealthCheckConfig.html
export UDS_ADMIN_TLS1_2_SUPPORT=true

export UDS_TENANT_TLS_CERT=$TLS_CERT
export UDS_TENANT_TLS_KEY=$TLS_KEY

# k3d-core-demo:latest >= 0.27.3 deploys runtime on admin gateway. deploying nightly unstable afterward overwrites and redeploys runtime on tenant gateway without authsvc
uds deploy ghcr.io/defenseunicorns/packages/uds/bundles/k3d-core-demo:latest --packages=init,core --set DOMAIN=burning.boats --confirm
uds deploy k3d-core-demo:latest --packages=init,core --set DOMAIN=burning.boats --confirm
uds zarf package deploy oci://ghcr.io/defenseunicorns/packages/uds/uds-runtime:nightly-unstable --confirm

0 comments on commit 08b5bdc

Please sign in to comment.