Skip to content

Commit bb6ae29

Browse files
committed
change from cluster issuer to isser and added sufficient anotation
1 parent 0aa956d commit bb6ae29

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

argocd-agent/terraform/modules/hub-cluster/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ resource "kubernetes_ingress_v1" "argocd_ui" {
317317
annotations = {
318318
"nginx.ingress.kubernetes.io/force-ssl-redirect" = "true"
319319
"nginx.ingress.kubernetes.io/backend-protocol" = "HTTP"
320+
"nginx.org/ssl-redirect" = "true"
321+
"acme.cert-manager.io/http01-edit-in-place" = "true"
320322
}
321323
}
322324

argocd-agent/terraform/modules/hub-cluster/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ variable "cert_issuer_name" {
319319
variable "cert_issuer_kind" {
320320
description = "Kind of cert-manager issuer: 'Issuer' (namespace-scoped) or 'ClusterIssuer' (cluster-wide)"
321321
type = string
322-
default = "Issuer"
322+
default = "ClusterIssuer"
323323
}
324324

325325
variable "letsencrypt_email" {

0 commit comments

Comments
 (0)