Skip to content

Commit

Permalink
Tmp add back cert manager to avoid resource mapping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
szabozoltan69 committed Jan 17, 2024
1 parent f2ec9fc commit e13151e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
25 changes: 25 additions & 0 deletions deploy/helm/ifrcgo-helm/templates/letsencrypt-issuer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod-issuer
spec:
acme:
# You must replace this email address with your own.
# Let's Encrypt will use this to contact you about expiring
# certificates, and issues related to your account.
email: sanjay@developmentseed.org
# ACME server URL for Let’s Encrypt’s staging environment.
# The staging environment will not issue trusted certificates but is
# used to ensure that the verification process is working properly
# before moving to production
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource used to store the account's private key.
name: letsencrypt-issuer-key
# Enable the HTTP-01 challenge provider
# you prove ownership of a domain by ensuring that a particular
# file is present at the domain
solvers:
- http01:
ingress:
class: nginx
13 changes: 13 additions & 0 deletions deploy/terraform/resources/helm-cert-manager.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
resource "helm_release" "ifrcgo-cert-manager" {
name = "cert-manager"
repository = "https://charts.jetstack.io"
chart = "cert-manager"
version = "v1.6.1"
namespace = "cert-manager"
create_namespace = true

set {
name = "installCRDs"
value = true
}
}
1 change: 1 addition & 0 deletions deploy/terraform/resources/helm-ifrcgo.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ resource "helm_release" "ifrcgo" {
wait = true
depends_on = [
helm_release.ifrcgo-ingress-nginx,
helm_release.ifrcgo-cert-manager
]

values = [
Expand Down

0 comments on commit e13151e

Please sign in to comment.