diff --git a/README.md b/README.md
index 414fe5bd..4db2b4b5 100644
--- a/README.md
+++ b/README.md
@@ -149,6 +149,7 @@ resources that lack official modules.
| [gke\_max\_node\_count](#input\_gke\_max\_node\_count) | Maximum number of nodes for the GKE cluster. Defaults to null and value from deployment-size.tf is used | `number` | `null` | no |
| [gke\_min\_node\_count](#input\_gke\_min\_node\_count) | Initial number of nodes for the GKE cluster, if gke\_max\_node\_count is set, this is the minimum number of nodes. Defaults to null and value from deployment-size.tf is used | `number` | `null` | no |
| [ilb\_proxynetwork\_cidr](#input\_ilb\_proxynetwork\_cidr) | Internal load balancer proxy subnetwork | `string` | `"10.127.0.0/24"` | no |
+| [kubernetes\_cluster\_oidc\_issuer\_url](#input\_kubernetes\_cluster\_oidc\_issuer\_url) | OIDC issuer URL for the Kubernetes cluster. Can be determined using `kubectl get --raw /.well-known/openid-configuration` | `string` | `""` | no |
| [labels](#input\_labels) | Labels to apply to resources | `map(string)` | `{}` | no |
| [license](#input\_license) | Your wandb/local license | `string` | n/a | yes |
| [local\_restore](#input\_local\_restore) | Restores W&B to a stable state if needed | `bool` | `false` | no |
diff --git a/main.tf b/main.tf
index c9def791..8e1103c3 100644
--- a/main.tf
+++ b/main.tf
@@ -318,6 +318,12 @@ module "wandb" {
name = ""
annotations = {}
}
+ internalJWTMap = [
+ {
+ subject = "system:serviceaccount:default:${local.k8s_sa_map.weave_trace}"
+ issuer = var.kubernetes_cluster_oidc_issuer_url
+ }
+ ]
}
ingress = {
diff --git a/variables.tf b/variables.tf
index 0e5c6ec1..3b6cac07 100644
--- a/variables.tf
+++ b/variables.tf
@@ -413,3 +413,12 @@ variable "clickhouse_subnetwork_cidr" {
description = "ClickHouse private service connect subnetwork"
type = string
}
+
+###########################################
+# Internal Service #
+###########################################
+variable "kubernetes_cluster_oidc_issuer_url" {
+ type = string
+ description = "OIDC issuer URL for the Kubernetes cluster. Can be determined using `kubectl get --raw /.well-known/openid-configuration`"
+ default = ""
+}