Skip to content

Commit

Permalink
fix: remove prometheus hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiFleKs committed Jun 5, 2019
1 parent 3d5ea7a commit be89eeb
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions terraform/modules/eks-addons/kube-prometheus.tf
Original file line number Diff line number Diff line change
@@ -1,35 +1,16 @@
locals {
values_prometheus_operator = <<VALUES
grafana:
adminPassword: ${join(",", random_string.grafana_password.*.result)}
persistence:
enabled: true
storageClassName: gp2
accessModes:
- ReadWriteOnce
size: 10Gi
kubeScheduler:
enabled: false
kubeControllerManager:
enabled: false
prometheus:
prometheusSpec:
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: gp2
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 50Gi
prometheus-node-exporter:
tolerations:
- effect: NoSchedule
operator: Exists
key: "node-role.kubernetes.io/controller"
kubeScheduler:
enabled: false
kubeControllerManager:
enabled: false
grafana:
adminPassword: ${join(",", random_string.grafana_password.*.result)}
VALUES
}

Expand Down

0 comments on commit be89eeb

Please sign in to comment.