Argo CD on neuralplatform.ai, fix domain_suffix vs infra_domain usage
This commit is contained in:
@@ -20,7 +20,7 @@ resource "helm_release" "argocd" {
|
|||||||
|
|
||||||
values = [<<-YAML
|
values = [<<-YAML
|
||||||
global:
|
global:
|
||||||
domain: argocd.${var.domain_suffix}
|
domain: argocd.${var.infra_domain}
|
||||||
|
|
||||||
server:
|
server:
|
||||||
ingress:
|
ingress:
|
||||||
@@ -57,12 +57,12 @@ resource "kubernetes_ingress_v1" "argocd" {
|
|||||||
|
|
||||||
spec {
|
spec {
|
||||||
tls {
|
tls {
|
||||||
hosts = ["argocd.${var.domain_suffix}"]
|
hosts = ["argocd.${var.infra_domain}"]
|
||||||
secret_name = "argocd-tls"
|
secret_name = "argocd-tls"
|
||||||
}
|
}
|
||||||
|
|
||||||
rule {
|
rule {
|
||||||
host = "argocd.${var.domain_suffix}"
|
host = "argocd.${var.infra_domain}"
|
||||||
http {
|
http {
|
||||||
path {
|
path {
|
||||||
path = "/"
|
path = "/"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ variable "legion_ip" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
variable "domain_suffix" {
|
variable "domain_suffix" {
|
||||||
description = "Domain suffix for nook.family family apps"
|
description = "Internal-only domain (nook.family) — not exposed via Cloudflare tunnel. Use infra_domain for public services."
|
||||||
type = string
|
type = string
|
||||||
default = "nook.family"
|
default = "nook.family"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user