Skip to content

Commit

Permalink
renamed from outputs from metrics to teams
Browse files Browse the repository at this point in the history
  • Loading branch information
dprosper committed Jul 1, 2021
1 parent 74d0a74 commit fc45d88
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
7 changes: 7 additions & 0 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions app_install.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "helm_release" "go_app" {
name = "metrics-${var.go_app_name}"
name = "teams-${var.go_app_name}"
namespace = "default"
chart = "./samples/${var.go_app_name}/chart/${var.go_app_name}"
wait = true
Expand All @@ -21,12 +21,12 @@ resource "helm_release" "go_app" {

set {
name = "ingress.host"
value = "metrics-${var.go_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}"
value = "teams-${var.go_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}"
}

set {
name = "ingress.tls.hosts"
value = "metrics-${var.go_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}"
value = "teams-${var.go_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}"
}

set {
Expand All @@ -40,7 +40,7 @@ resource "helm_release" "go_app" {
}

resource "helm_release" "node_app" {
name = "metrics-${var.node_app_name}"
name = "teams-${var.node_app_name}"
namespace = "default"
chart = "./samples/${var.node_app_name}/chart/${var.node_app_name}"
wait = true
Expand All @@ -62,12 +62,12 @@ resource "helm_release" "node_app" {

set {
name = "ingress.host"
value = "metrics-${var.node_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}"
value = "teams-${var.node_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}"
}

set {
name = "ingress.tls.hosts"
value = "metrics-${var.node_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}"
value = "teams-${var.node_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}"
}

set {
Expand Down
5 changes: 5 additions & 0 deletions modules/vpc/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ variable "flavor" {
}

variable "kube_version" {
default = "1.20.6"
default = "1.20.7"
}
4 changes: 2 additions & 2 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ output "database_instances_access" {
value = <<APPS
### You can access the Node.js application using the following URL :
http://metrics-${var.node_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}
http://teams-${var.node_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}
### You can access the Go application using the following URL :
http://metrics-${var.go_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}
http://teams-${var.go_app_name}.${data.ibm_container_vpc_cluster.cluster[0].ingress_hostname}
--------------------------------------------------------------------------------
Expand Down

0 comments on commit fc45d88

Please sign in to comment.