From 0cbd60c381225f7caa91e4f16a244dc4e0c1a2bb Mon Sep 17 00:00:00 2001 From: Jonathan Felder Date: Thu, 8 Aug 2024 13:48:05 -0700 Subject: [PATCH] trying to add https to ugr01 --- deployments/ugr01/config/staging.yaml | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/deployments/ugr01/config/staging.yaml b/deployments/ugr01/config/staging.yaml index 239815e25..3f446e5ab 100644 --- a/deployments/ugr01/config/staging.yaml +++ b/deployments/ugr01/config/staging.yaml @@ -11,12 +11,19 @@ jupyterhub: enabled: false proxy: service: - loadBalancerIP: 34.72.254.237 - ingress: - enabled: true - hosts: - - ugr01-staging.datahub.berkeley.edu - tls: - - secretName: tls-cert - hosts: - - ugr01-staging.datahub.berkeley.edu + loadBalancerIP: 34.172.42.174 + traefik: + extraInitContainers: + # This startup delay can help the k8s container network interface setup + # network routing of traffic to the pod, which is essential for the ACME + # challenge submitted by Traefik on startup to acquire a TLS certificate. + # + # Sleeping for 7 seconds has been consistently sufficient to avoid issues + # in GKE when this workaround was explored initially for GKE. + # + - name: startup-delay + image: busybox:stable + command: ["sh", "-c", "sleep 10"] + https: + hosts: + - ugr01-staging.datahub.berkeley.edu