Skip to content

Commit

Permalink
Output the Spark service account so we can reference it (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
forficate authored Mar 7, 2024
1 parent 94ecd77 commit 141fe59
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/app-all/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,10 @@ Description: The Kubernetes used for deployments

Description: The Kubernetes service account used for deployments

### <a name="output_kubernetes_service_account_spark_executor_driver"></a> [kubernetes\_service\_account\_spark\_executor\_driver](#output\_kubernetes\_service\_account\_spark\_executor\_driver)

Description: The Kubernetes service account used for Spark

### <a name="output_kubernetes_service_name_anaml_server"></a> [kubernetes\_service\_name\_anaml\_server](#output\_kubernetes\_service\_name\_anaml\_server)

Description: n/a
Expand Down
5 changes: 5 additions & 0 deletions modules/app-all/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ output "kubernetes_service_account" {
value = var.kubernetes_service_account_name
}

output "kubernetes_service_account_spark_executor_driver" {
description = "The Kubernetes service account used for Spark"
value = module.spark-server.kubernetes_service_account
}

output "kubernetes_namespace" {
description = "The Kubernetes used for deployments"
value = var.kubernetes_namespace_name
Expand Down
4 changes: 4 additions & 0 deletions modules/app-spark-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@ The following outputs are exported:

Description: n/a

### <a name="output_kubernetes_service_account"></a> [kubernetes\_service\_account](#output\_kubernetes\_service\_account)

Description: n/a

### <a name="output_spark_history_server_internal_url"></a> [spark\_history\_server\_internal\_url](#output\_spark\_history\_server\_internal\_url)

Description: n/a
Expand Down
4 changes: 4 additions & 0 deletions modules/app-spark-server/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ output "anaml_spark_server_internal_url" {
)
}
}

output "kubernetes_service_account" {
value = var.kubernetes_service_account_spark_driver_executor
}

0 comments on commit 141fe59

Please sign in to comment.