Skip to content

Commit 854fce9

Browse files
committed
fix argocd bootstrap to use new cusotm domains for argo
1 parent c045207 commit 854fce9

3 files changed

Lines changed: 2 additions & 8 deletions

File tree

akuity-bootstrap/outputs.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
output "argo_server_url" {
2-
description = "The URL of the ArgoCD server"
3-
# TODO: must be someway to get root domain and not assume akuity.cloud
4-
value = "${akp_instance.se-demo-iac.argocd.spec.instance_spec.subdomain}.cd.akuity.cloud"
5-
}
6-
71
output "kargo_instance_id" {
82
description = "The ID of the Kargo instance"
93
value = akp_kargo_instance.kargo-instance.id

argocd-bootstrap/data.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ data "terraform_remote_state" "akuity_platform" {
2020

2121
#debug
2222
output "argo_cd_url" {
23-
value = data.terraform_remote_state.akuity_platform.outputs.argo_server_url
23+
value = data.terraform_remote_state.akuity_platform.outputs.argo_custom_url
2424
}
2525

2626
output "argo_cd_password" {

argocd-bootstrap/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ terraform {
1515

1616
provider "argocd" {
1717
# this depends on AKP creation
18-
server_addr = data.terraform_remote_state.akuity_platform.outputs.argo_server_url
18+
server_addr = data.terraform_remote_state.akuity_platform.outputs.argo_custom_url
1919
username = "admin"
2020
password = data.terraform_remote_state.akuity_platform.outputs.argo_admin_password
2121
}

0 commit comments

Comments
 (0)