infrastructure/k8s.tjo.cloud/modules/cluster-components/main.tf

17 lines
328 B
Terraform
Raw Normal View History

2024-07-20 11:09:30 +00:00
resource "kubernetes_namespace" "tjo-cloud" {
metadata {
name = "tjo-cloud"
}
}
2024-08-04 17:50:50 +00:00
2025-01-03 18:27:34 +00:00
resource "kubernetes_secret" "dnsimple" {
2024-08-04 17:50:50 +00:00
metadata {
2025-01-03 18:27:34 +00:00
name = "dnsimple"
2024-08-04 17:50:50 +00:00
namespace = kubernetes_namespace.tjo-cloud.metadata[0].name
}
data = {
2025-01-03 18:27:34 +00:00
token = var.dnsimple_token
account_id = var.dnsimple_account_id
2024-08-04 17:50:50 +00:00
}
}