Merge "Fix spacing inconsistencies with flags"
This commit is contained in:
commit
a7cfefddb5
@ -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