improve oauth2 ouput

This commit is contained in:
2024-01-29 09:48:07 +01:00
parent 4f306cdacf
commit a77bf1ec51

View File

@@ -23,3 +23,16 @@ output "client_id" {
output "client_secret" {
value = data.kubernetes_secret_v1.oauth2-client-secret.data["client-secret"]
}
output "secret_client_id_name" {
value = kubectl_manifest.oauth2-secret.name
}
output "secret_client_secret_name" {
value = kubernetes_secret_v1.oauth2-client-secret.metadata[0].name
}
output "secret_client_id_key" {
value = "client-id"
}
output "secret_client_secret_key" {
value = "client-secret"
}