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

47 lines
1.1 KiB
Terraform
Raw Normal View History

2024-07-23 18:42:22 +00:00
resource "helm_release" "cert-manager" {
name = "cert-manager"
chart = "cert-manager"
repository = "https://charts.jetstack.io"
2024-12-22 12:32:22 +00:00
version = "v1.16.2"
2024-07-23 18:42:22 +00:00
namespace = "kube-system"
atomic = true
cleanup_on_fail = true
values = [<<-EOF
crds:
enabled: true
2024-12-22 12:32:22 +00:00
config:
apiVersion: controller.config.cert-manager.io/v1alpha1
kind: ControllerConfiguration
enableGatewayAPI: true
2024-07-23 18:42:22 +00:00
EOF
]
}
resource "helm_release" "envoy" {
name = "envoy"
chart = "gateway-helm"
repository = "oci://docker.io/envoyproxy"
2024-12-22 12:32:22 +00:00
version = "v1.2.4"
2024-07-23 18:42:22 +00:00
namespace = "kube-system"
atomic = true
cleanup_on_fail = true
}
2024-07-26 21:40:38 +00:00
resource "helm_release" "metrics-server" {
name = "metrics-server"
chart = "metrics-server"
repository = "https://kubernetes-sigs.github.io/metrics-server/"
2024-12-22 12:32:22 +00:00
version = "3.12.2"
2024-07-26 21:40:38 +00:00
namespace = "kube-system"
atomic = true
cleanup_on_fail = true
values = [<<-EOF
serviceMonitor:
enabled: true
EOF
]
}