khuedoan-homelab/external/modules/ntfy/main.tf
2024-01-21 14:43:27 +07:00

17 lines
311 B
HCL

resource "kubernetes_secret" "ntfy_auth" {
metadata {
name = "ntfy.auth"
namespace = "global-secrets"
annotations = {
"app.kubernetes.io/managed-by" = "Terraform"
}
}
data = {
url = var.auth.url
username = var.auth.username
password = var.auth.password
}
}