Setting up cert-manager helm_release
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 5s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 19s

This commit is contained in:
shockrah 2025-10-03 17:25:23 -07:00
parent cddf67de2f
commit 82333fe6ce
5 changed files with 31 additions and 2 deletions

View File

@ -19,6 +19,10 @@ terraform {
source = "hashicorp/kubernetes"
version = "2.37.1"
}
kubectl = {
source = "alekc/kubectl"
version = "2.0.0"
}
helm = {
source = "hashicorp/helm"
version = "3.0.2"
@ -48,6 +52,10 @@ provider kubernetes {
config_path = "config.yaml"
}
provider kubectl {
config_path = "config.yaml"
}
provider helm {
kubernetes = {
config_path = "config.yaml"

View File

@ -2,6 +2,6 @@ resource helm_release nginx {
name = "ingress-nginx"
repository = "https://kubernetes.github.io/ingress-nginx"
chart = "ingress-nginx"
namespace = "ingress-nginx"
namespace = "ingress-nginx"
create_namespace = true
}

View File

@ -0,0 +1,16 @@
resource helm_release shockrah_cert_manager {
name = "cert-manager"
repository = "https://charts.jetstack.io"
chart = "cert-manager"
version = "v1.18.2"
namespace = "cert-manager"
create_namespace = true
cleanup_on_fail = true
set = [
{
name = "crds.enabled"
value = "true"
}
]
}

View File

@ -43,6 +43,9 @@ variable playground {
health = object({
dns = string
})
tls = object({
email = string
})
})
}

View File

@ -21,6 +21,9 @@ playground = {
health = {
dns = "health"
}
tls = {
email = "dev@shockrah.xyz"
}
}
bastion = {
@ -29,4 +32,3 @@ bastion = {
os = "1743"
}