Skip to content

Commit

Permalink
Fixing UI deployment (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
keshavpeswani authored and absrivastava committed Nov 8, 2019
1 parent 41f1ad2 commit 29a6705
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deployment/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ data "template_file" "config_data" {
ui_saml_entry_point = "${var.ui_saml_entry_point}"
ui_saml_issuer = "${var.ui_saml_issuer}"
ui_session_secret = "${var.ui_session_secret}"
metricpoint_encoder_type = "${var.metricpoint_encoder_type}"
encoder_type = "${var.encoder_type}"
}
}

Expand Down
5 changes: 2 additions & 3 deletions deployment/terraform/templates/haystack-ui_json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"port": 8080,
"cluster": true,
"upstreamTimeout": 30000,
"encoder": "${encoder_type}",
"enableServicePerformance": false,
"enableServiceLevelTrends": false,
"enableLatencyCostViewer": true,
Expand All @@ -22,9 +23,7 @@
},
"trends": {
"connectorName": "haystack",
"metricTankUrl": "http://${metrictank_hostname}:${metrictank_port}",
"encoder": "${metricpoint_encoder_type}"
"metricTankUrl": "http://${metrictank_hostname}:${metrictank_port}"
},
"alerts": {
"connectorName": "haystack",
Expand Down
2 changes: 1 addition & 1 deletion deployment/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ variable "cpu_request"{}
variable "cpu_limit"{}
variable "graphite_hostname" {}
variable "graphite_port" {}
variable "metricpoint_encoder_type" {}
variable "encoder_type" {}

variable "termination_grace_period" {
default = 30
Expand Down

0 comments on commit 29a6705

Please sign in to comment.