This commit is contained in:
2026-02-11 21:45:05 +00:00
parent 7c333b323a
commit f933d5b659
2 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -65,7 +65,7 @@ variable "kubernetes" {
secret_ref = optional(list(string))
config_map_ref = optional(list(string))
config_map_import = optional(list(string))
secret_import = optional(list(string))
secret_import = optional(list(string))
extra_manifest = optional(list(string))
requirements = optional(map(string))
# requirements = optional(map(string), {
@@ -823,7 +823,7 @@ data "bitwarden-secrets_secret" "configmap_import" {
}
resource "kubernetes_config_map_v1" "configmap_import" {
for_each = { for key, value in data.bitwarden-secrets_secret.configmap_import : key => value }
for_each = { for key, value in data.bitwarden-secrets_secret.configmap_import : key => value }
metadata {
name = each.value.note
namespace = split("__", each.value.key)[0]
@@ -847,7 +847,7 @@ data "bitwarden-secrets_secret" "secret_import" {
}
resource "kubernetes_secret_v1" "secret_import" {
for_each = { for key, value in data.bitwarden-secrets_secret.secret_import : key => value }
for_each = { for key, value in data.bitwarden-secrets_secret.secret_import : key => value }
metadata {
name = each.value.note
namespace = split("__", each.value.key)[0]