Skip to content

Commit

Permalink
Read fix (#9)
Browse files Browse the repository at this point in the history
* add wait and timeout

* update tempo defaults

* update precommit
  • Loading branch information
morga471 committed Feb 24, 2025
1 parent baf74f5 commit 53693cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ repos:

# Terraform Hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.96.1 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
rev: v1.97.3 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt
args:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Developer NOTE: We should automate this configuration.

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.73.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.16.1 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.14.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | >= 2.11.0 |

## Modules

Expand Down
12 changes: 6 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,17 @@ resource "helm_release" "tempo" {
create_namespace = true
repository = "https://grafana.github.io/helm-charts"
values = [file("${path.module}/tempo_values.yaml")]

wait = true
timeout = 300

set {
name = "tempo.storage.trace.s3.insecure"
value = "false"
}
# set {
# name = "replicas"
# value = "3"
# }
set {
name = "tempo.replicas"
value = "2"
}
set {
name = "tempo.repository"
value = format("%v/%v",
Expand Down Expand Up @@ -84,5 +85,4 @@ resource "helm_release" "tempo" {
value = var.rwo_storage_class
}

timeout = 60
}
1 change: 1 addition & 0 deletions tempo_values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
tempo:
storage:
trace:
Expand Down

0 comments on commit 53693cf

Please sign in to comment.