Merge "Allow the storage.tsdb.wal-compression flag to be available"

This commit is contained in:
Zuul 2020-08-27 15:56:17 +00:00 committed by Gerrit Code Review
commit 5e7bd24fa0

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