Allow the storage.tsdb.wal-compression flag to be

available

Change-Id: I609414330f0c8a65b6c0d3409bded09fcff0bbe0
This commit is contained in:
Smith, David (ds3330) 2020-08-26 15:42:24 +00:00
parent 98dbc6dfef
commit 9027d1337f

View File

@ -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 -}}