Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
Use underscores for prometheus params
Browse files Browse the repository at this point in the history
  • Loading branch information
dgonzalezruiz committed Dec 26, 2018
1 parent 96e45bd commit 021a409
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions apps/prometheus/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ChangeLog

### 0.1.23
- Switch dashes by underscores in parameter names prometheus-port and prometheus-storageclass

### 0.1.22
- Make resource requirements configurable

Expand Down
2 changes: 1 addition & 1 deletion apps/prometheus/inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variable "prometheus-port" {
default = "9090"
}

variable "prometheus-storageclass" {
variable "prometheus_storageclass" {
type = "string"
default = "prometheus-ssd"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/prometheus/storage-class.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "kubernetes_storage_class" "ssd" {
metadata {
name = "${var.prometheus-storageclass}"
name = "${var.prometheus_storageclass}"
}

storage_provisioner = "kubernetes.io/gce-pd"
Expand Down

0 comments on commit 021a409

Please sign in to comment.