Skip to content

Commit b98487a

Browse files
authored
fix(o11y): add secrets to o11y vault not yucca (#1662)
Signed-off-by: Devin Buhl <devin@buhl.casa>
1 parent 39249a7 commit b98487a

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

tf/deployment/modules/shared/1password/futo-account/o11y-secrets.tf

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@ module "o11y-generated-secrets" {
3333
source = "./shared/modules/secrets/generated"
3434

3535
secrets = {
36-
global = [
37-
{ name = "GRAFANA_ADMIN_PASSWORD" }
36+
global = []
37+
scoped = [
38+
{ name = "VICTORIAMETRICS_VMAUTH_PASSWORD" },
39+
{ name = "GRAFANA_ADMIN_PASSWORD" },
40+
{ name = "GRAFANA_POSTGRES_PASSWORD" },
41+
{ name = "GRAFANA_POSTGRES_SUPERUSER_PASSWORD" },
42+
{ name = "GRAFANA_SECRET_KEY" },
3843
]
39-
scoped = []
4044
}
4145

4246
global_vault = "o11y_tf"

tf/deployment/modules/shared/1password/futo-account/yucca-secrets.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,7 @@ module "yucca-generated-secrets" {
4444

4545
secrets = {
4646
global = []
47-
scoped = [
48-
{ name = "VICTORIAMETRICS_VMAUTH_PASSWORD" },
49-
{ name = "POSTGRES_SUPERUSER_PASSWORD" },
50-
{ name = "POSTGRES_GRAFANA_PASSWORD" },
51-
{ name = "GRAFANA_SECRET_KEY" },
52-
]
47+
scoped = []
5348
}
5449

5550
global_vault = "yucca_tf"

0 commit comments

Comments
 (0)