mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 09:44:24 +01:00
21 lines
351 B
HCL
21 lines
351 B
HCL
# Cloudflare DNS records and API Secret
|
|
|
|
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_api_key
|
|
}
|
|
|
|
type = "Opaque"
|
|
}
|
|
|