Created
January 17, 2024 22:17
-
-
Save YurgenUA/fd9f54232b38769d096e77def3527a26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "vault_generic_secret" "top_secret" { | |
path = "secret/webapp/config" | |
} | |
resource "kubernetes_secret" "top_secret" { | |
metadata { | |
name = "top-secret-ks" | |
namespace = kubernetes_namespace.playground.id | |
} | |
data = data.vault_generic_secret.top_secret.data | |
type = "Opaque" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment