Compare commits

..

No commits in common. "de3bff8f144ca4a818d2a690fca6144a7632bf83" and "82333fe6ceb80f375d72ccec9ce049b417487eb8" have entirely different histories.

3 changed files with 3 additions and 35 deletions

View File

@ -20,8 +20,8 @@ terraform {
version = "2.37.1" version = "2.37.1"
} }
kubectl = { kubectl = {
source = "gavinbunney/kubectl" source = "alekc/kubectl"
version = " 1.19.0" version = "2.0.0"
} }
helm = { helm = {
source = "hashicorp/helm" source = "hashicorp/helm"

View File

@ -1,18 +0,0 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory
preferredChain: "ISRG Root X1"
# Email address used for ACME registration
email: dev@shockrah.xyz
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt
solvers:
- http01:
ingress:
class: nginx

View File

@ -14,17 +14,3 @@ resource helm_release shockrah_cert_manager {
} }
] ]
} }
data kubectl_file_documents cluster_issuer {
content = file("cluster-issuer.yaml")
}
resource kubectl_manifest cluster_issuer {
for_each = data.kubectl_file_documents.cluster_issuer.manifests
yaml_body = each.value
depends_on = [
data.kubectl_file_documents.cluster_issuer
]
}