Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent e5ba01b commit 3c530f8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ to loki.


# CHANGELOG

* 0.0.2 -- 2024-07-30
- update images module
- formatting
- fix for tags
* 0.0.1 -- 2024-07-22
- updated version.tf to 0.0.1
- included module.images in depends on helm charts
Expand Down
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ locals {
"boc:tf_module_version" = local._module_version
"boc:created_by" = "terraform"
CostAllocation = var.tag_costallocation
}, var.additional_tags)
}, var.tags)

ns = try(kubernetes_namespace.ns[0].metadata[0].name, data.kubernetes_namespace.existing-ns[0].metadata[0].name)
}
Expand Down Expand Up @@ -67,8 +67,8 @@ resource "helm_release" "loki" {
name = "loki"
namespace = local.ns
repository = "https://grafana.github.io/helm-charts"
timeout = 900
wait = true
timeout = 900
wait = true

##### Globals #####
set {
Expand Down
15 changes: 14 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
output "rwo_storage_class" {
description = "Specify the storage class for read/write/once persistent volumes."
value = var.rwo_storage_class
value = var.rwo_storage_class
}

output "gateway_internal_endpoint" {
Expand All @@ -11,3 +11,16 @@ output "gateway_internal_endpoint" {
url = local.gateway_internal_url
}
}
################################################################################
# Module information
################################################################################

output "module_name" {
description = "The name of this module."
value = local._module_name
}

output "module_version" {
description = "The version of this module."
value = local._module_version
}
3 changes: 1 addition & 2 deletions version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
locals {
_module_name = "tfmod-loki"
_module_version = "0.0.1"
_module_providers = ["helm", "kubernetes"]
_module_version = "0.0.2"
}

0 comments on commit 3c530f8

Please sign in to comment.