-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I am attempting to deploy WandB but I'm having a lot of trouble. Our stack includes using Auth0 as our IDP and Gateway API (EnvoyProxy) as our Ingress controller. When I try to deploy the helm chart using Terraform, I just end up navigating to a blank screen and there are no errors in the logs. Could someone please lend a helping hand:
resource "helm_release" "wandb" {
name = "wandb"
repository = "https://wandb.github.io/helm-charts"
chart = "wandb"
namespace = "wandb"
values = [
yamlencode({
license = "<LICENSE_KEY>"
enableAdminApi = false
bucket = "s3://<BUCKET_NAME>"
bucketRegion = data.aws_s3_bucket.wandb_stage.region
serviceAccount = {
annotations = {
"eks.amazonaws.com/role-arn" = aws_iam_role.wandb_stage.arn
}
}
host = local.wandb_hostnames[0]
extraEnv = [
{
name = "GORILLA_CORS_ORIGINS"
value = "https://${local.wandb_hostnames[0]}, null"
},
{
name = "X_FORWARDED_PROTO"
value = "https"
}
]
sso = {
enabled = false
autoProvision = true
issuer = "https://<COMPANY>.auth0.com"
method = "pkce"
clientId = module.wandb.client_id
clientSecret = module.wandb.client_secret
}
})
]
}
resource "kubectl_manifest" "wandb" {
yaml_body = <<EOF
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: wandb-stage
namespace: wandb
spec:
hostnames:
- ${local.wandb_hostnames[0]}
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: external-gateway
namespace: gateway
rules:
- backendRefs:
- group: ""
kind: Service
name: wandb
port: 8080
weight: 1
EOF
}
Metadata
Metadata
Assignees
Labels
No labels