fixup! Set required image tags for prometheus.

This commit is contained in:
2021-03-14 22:17:09 +00:00
parent 55d9675874
commit 96b5bd6709
2 changed files with 17 additions and 14 deletions
+5 -1
View File
@@ -22,4 +22,8 @@ import:
cd infrastructure; terraform import $(ADDITIONAL_ARGS) -var-file ../variables.tfvars $(ARGS)
lint:
terraform fmt -recursive infrastructure/
terraform fmt -recursive infrastructure/
show:
@echo Available services:
@kubectl get svc -A | grep -E '(adguard|traefik|torrent)' | awk '{print $$2 ": \t"$$5}'
+12 -13
View File
@@ -26,18 +26,18 @@ resource "helm_release" "prometheus" {
name = "grafana.plugins"
value = "devopsprodigy-kubegraf-app"
}
set {
name = "prometheus-node-exporter.image.tag"
value = "v1.1.2"
}
set {
name = "prometheus.prometheusSpec.image.tag"
value = "v2.25.1"
}
set {
name = "prometheus.alertManagerSpec.image.tag"
value = "v2.25.1"
}
# set {
# name = "prometheus-node-exporter.image.tag"
# value = "v1.1.2"
# }
# set {
# name = "prometheus.prometheusSpec.image.tag"
# value = "v2.25.1"
# }
# set {
# name = "prometheus.alertManagerSpec.image.tag"
# value = "v2.25.1"
# }
}
## SEE following for the dashboard configuration
@@ -71,7 +71,6 @@ kubectl delete ns kubegraf
resource "null_resource" "prometheus_patch" {
depends_on = [helm_release.prometheus]
provisioner "local-exec" {
when = create
command = <<EOF
kubectl patch ds prometheus-prometheus-node-exporter --type json -p '[{"op": "remove", "path" : "/spec/template/spec/containers/0/volumeMounts/2/mountPropagation"}]' || true
EOF