Fix spacing inconsistencies with flags
Change-Id: Ia8f7437071a8865f1470412ad616b67a38142719
This commit is contained in:
parent
738c89b342
commit
9d9aaa8948
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v2.12.0
|
appVersion: v2.12.0
|
||||||
description: OpenStack-Helm Prometheus
|
description: OpenStack-Helm Prometheus
|
||||||
name: prometheus
|
name: prometheus
|
||||||
version: 0.1.3
|
version: 0.1.4
|
||||||
home: https://prometheus.io/
|
home: https://prometheus.io/
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/prometheus/prometheus
|
- https://github.com/prometheus/prometheus
|
||||||
|
@ -36,7 +36,7 @@ limitations under the License.
|
|||||||
{{- $flag := $flag | replace "_" "-" }}
|
{{- $flag := $flag | replace "_" "-" }}
|
||||||
{{- if eq $flag "web.enable-admin-api" "web.enable-lifecycle" "storage.tsdb.wal-compression" -}}
|
{{- if eq $flag "web.enable-admin-api" "web.enable-lifecycle" "storage.tsdb.wal-compression" -}}
|
||||||
{{- if $value }}
|
{{- if $value }}
|
||||||
{{- printf " --%s" $flag -}}
|
{{- printf "--%s " $flag -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $value := $value | toString }}
|
{{- $value := $value | toString }}
|
||||||
|
Loading…
Reference in New Issue
Block a user