diff options
author | Paul Gier <pgier@redhat.com> | 2018-02-01 08:58:30 -0600 |
---|---|---|
committer | Paul Gier <pgier@redhat.com> | 2018-02-05 13:39:13 -0600 |
commit | 4edcb3af15857f8b971e79bdde58224d115fd926 (patch) | |
tree | ea2757e33ef30c9b1819d42b0f6dd6c427160ecf /roles/openshift_prometheus/templates | |
parent | 90f577883066f7213afca2a1159c69cabece57dc (diff) | |
download | openshift-4edcb3af15857f8b971e79bdde58224d115fd926.tar.gz openshift-4edcb3af15857f8b971e79bdde58224d115fd926.tar.bz2 openshift-4edcb3af15857f8b971e79bdde58224d115fd926.tar.xz openshift-4edcb3af15857f8b971e79bdde58224d115fd926.zip |
bug 1540799: openshift_prometheus: update alertmanager config file flag
Prometheus alertmanager as of 0.13.0 requires double dashes (posix) for
command line flags. The double dashes should be backwards compat
with earlier versions of alertmanager.
Diffstat (limited to 'roles/openshift_prometheus/templates')
-rw-r--r-- | roles/openshift_prometheus/templates/prometheus.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_prometheus/templates/prometheus.j2 b/roles/openshift_prometheus/templates/prometheus.j2 index c0abd483b..e86de1eab 100644 --- a/roles/openshift_prometheus/templates/prometheus.j2 +++ b/roles/openshift_prometheus/templates/prometheus.j2 @@ -219,7 +219,7 @@ spec: - name: alertmanager args: - - -config.file=/etc/alertmanager/alertmanager.yml + - --config.file=/etc/alertmanager/alertmanager.yml image: "{{ l_openshift_prometheus_alertmanager_image_prefix }}prometheus-alertmanager:{{ l_openshift_prometheus_alertmanager_image_version }}" imagePullPolicy: IfNotPresent resources: |