Skip to content

Commit

Permalink
fix: Remove kubernetes_cluster_issuer_url variable and determine from…
Browse files Browse the repository at this point in the history
… cluster module
  • Loading branch information
KyleGoyette committed Dec 11, 2024
1 parent 5f9e5b2 commit ffe483d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ module "wandb" {
internalJWTMap = [
{
"subject" = "system:serviceaccount:default:${local.weave_trace_sa_name}",
"issuer" = var.kubernetes_cluster_oidc_issuer_url
"issuer" = module.eks.cluster.oidc_issuer_url
}
]
}
Expand Down
10 changes: 0 additions & 10 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -522,13 +522,3 @@ variable "clickhouse_endpoint_service_id" {
description = "The service ID of the VPC endpoint service for Clickhouse"
default = ""
}

##########################################
# 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 = ""
}

0 comments on commit ffe483d

Please sign in to comment.