Skip to content

Commit 91bd2fa

Browse files
authored
update argocd-ingress (#54)
Signed-off-by: Carlos Santana <[email protected]>
1 parent a4d55d0 commit 91bd2fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

argocd/iac/terraform/examples/eks/argocd-ingress/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ locals {
113113
aws_vpc_id = module.vpc.vpc_id
114114
},
115115
{
116-
argocd_hosts = "[${local.argocd_host}]"
116+
argocd_domain = local.argocd_host
117117
external_dns_domain_filters = "[${local.domain_name}]"
118118
},
119119
{

argocd/iac/terraform/examples/eks/argocd-ingress/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ output "access_argocd" {
2626
value = <<-EOT
2727
export KUBECONFIG="/tmp/${module.eks.cluster_name}"
2828
aws eks --region ${local.region} update-kubeconfig --name ${module.eks.cluster_name}
29-
echo "ArgoCD URL: https://$(kubectl get ing -n argocd argo-cd-argocd-server -o jsonpath='{.spec.tls[0].hosts[0]}')"
29+
echo "ArgoCD URL: https://$(kubectl get ing -n argocd argo-cd-argocd-server -o jsonpath='{.spec.rules[0].host}')"
3030
echo "ArgoCD Username: admin"
3131
echo "ArgoCD Password: $(kubectl get secrets argocd-initial-admin-secret -n argocd --template="{{index .data.password | base64decode}}")"
3232
EOT

0 commit comments

Comments
 (0)