improve oauth2 ouput
This commit is contained in:
@@ -23,3 +23,16 @@ output "client_id" {
|
|||||||
output "client_secret" {
|
output "client_secret" {
|
||||||
value = data.kubernetes_secret_v1.oauth2-client-secret.data["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"
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user