Merge "Fix spacing inconsistencies with flags"
This commit is contained in:
commit
96e002c64e
@ -15,7 +15,7 @@ apiVersion: v1
|
||||
appVersion: v2.12.0
|
||||
description: OpenStack-Helm Prometheus
|
||||
name: prometheus
|
||||
version: 0.1.4
|
||||
version: 0.1.5
|
||||
home: https://prometheus.io/
|
||||
sources:
|
||||
- https://github.com/prometheus/prometheus
|
||||
|
@ -36,11 +36,11 @@ limitations under the License.
|
||||
{{- $flag := $flag | replace "_" "-" }}
|
||||
{{- if eq $flag "web.enable-admin-api" "web.enable-lifecycle" "storage.tsdb.wal-compression" -}}
|
||||
{{- if $value }}
|
||||
{{- printf "--%s " $flag -}}
|
||||
{{- printf " --%s " $flag -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- $value := $value | toString }}
|
||||
{{- printf "--%s=%s " $flag $value }}
|
||||
{{- printf " --%s=%s " $flag $value }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
@ -544,6 +544,8 @@ conf:
|
||||
web.enable_admin_api: false
|
||||
# If set to true, allows for http reloads and shutdown of Prometheus
|
||||
web.enable_lifecycle: false
|
||||
# Enable WAL file compression
|
||||
storage.tsdb.wal-compression: true
|
||||
scrape_configs:
|
||||
template: |
|
||||
{{- $promHost := tuple "monitoring" "public" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" }}
|
||||
|
Loading…
Reference in New Issue
Block a user