Jafner.net/homelab/silver-hand/cloudflare.tf

13 lines
302 B
Terraform
Raw Normal View History

resource "kubernetes_secret" "cloudflare_api_key_secret" {
depends_on = [
kubernetes_namespace.certmanager
]
metadata {
name = "cloudflare-api-key-secret"
namespace = "certmanager"
}
data = {
api-key = var.cloudflare_token
}
type = "Opaque"
}