Charts: [prometheus] server extraArgs does not support flag args

Created on 31 Oct 2017  路  6Comments  路  Source: helm/charts

Is this a request for help?: No


Is this a BUG REPORT or FEATURE REQUEST? (choose one):


BUG REPORT

Version of Helm and Kubernetes:
Helm 2.7.0, k8s 1.7.8 on GKE

Which chart:
prometheus

What happened:
Unable to specify flag args with Values.server.extraArgs. Particularly, in prometheus 2.x there lots of flag values, e.g. --web.enable-lifecycle that work as flag-only, i.e. --web.enable-lifecycle=1 will not work. However, server-deployment.yaml template parses extraArgs as key/value and tries to set args in form --<key>=<value>.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

lifecyclrotten

Most helpful comment

Perhaps my description was not clear enough. You example converts to

--storage.local.retention=720h --storage.local.num-fingerprint-mutexes=4096

However, how how do I specify:

--web.enable-lifecycle

which is a flag option, i.e. does not accept any argument?

All 6 comments

@haizaar Please use this syntax to specify the extraArgs

  extraArgs:
    storage.local.retention: 720h
    storage.local.num-fingerprint-mutexes: 4096

Perhaps my description was not clear enough. You example converts to

--storage.local.retention=720h --storage.local.num-fingerprint-mutexes=4096

However, how how do I specify:

--web.enable-lifecycle

which is a flag option, i.e. does not accept any argument?

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Hi, it seems this issue is not solved in latest 7.4.5 chart.

Was this page helpful?
0 / 5 - 0 ratings