Skip to content

Commit 179ac14

Browse files
Merge pull request #15 from ShibraAmin18/main
Removed Values from exporter
2 parents fc0a9c1 + acead35 commit 179ac14

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

helm/values/exporter/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ affinity: {}
5656

5757
resources:
5858
limits:
59-
cpu: 250m
60-
memory: 400Mi
59+
cpu: 200m
60+
memory: 100Mi
6161
requests:
6262
cpu: 100m
63-
memory: 200Mi
63+
memory: 50Mi
6464

6565
# Extra environment variables that will be passed into the exporter pod
6666
env: {}

main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ resource "helm_release" "mongodb_exporter" {
107107
templatefile("${path.module}/helm/values/exporter/values.yaml", {
108108
mongodb_exporter_password = var.mongodb_custom_credentials_enabled ? var.mongodb_custom_credentials_config.metric_exporter_password : "${var.metric_exporter_password}"
109109
service_monitor_namespace = var.namespace
110-
}),
111-
var.mongodb_config.values_yaml
110+
})
112111
]
113112
}

0 commit comments

Comments
 (0)