From 9027d1337fa569621df47405d641fbf0259878c4 Mon Sep 17 00:00:00 2001 From: "Smith, David (ds3330)" Date: Wed, 26 Aug 2020 15:42:24 +0000 Subject: [PATCH] Allow the storage.tsdb.wal-compression flag to be available Change-Id: I609414330f0c8a65b6c0d3409bded09fcff0bbe0 --- prometheus/templates/utils/_command_line_flags.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/templates/utils/_command_line_flags.tpl b/prometheus/templates/utils/_command_line_flags.tpl index 5badadd69..d3437d0c9 100644 --- a/prometheus/templates/utils/_command_line_flags.tpl +++ b/prometheus/templates/utils/_command_line_flags.tpl @@ -34,7 +34,7 @@ limitations under the License. {{- define "prometheus.utils.command_line_flags" -}} {{- range $flag, $value := . -}} {{- $flag := $flag | replace "_" "-" }} -{{- if eq $flag "web.enable-admin-api" "web.enable-lifecycle" -}} +{{- if eq $flag "web.enable-admin-api" "web.enable-lifecycle" "storage.tsdb.wal-compression" -}} {{- if $value }} {{- printf " --%s" $flag -}} {{- end -}}