mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kiam] Dont add prometheus env vars if scrape is false (#8271)
* [stable/kiam] Dont add prometheus env vars if scrape is false Signed-off-by: Isa Aguilar <isa@aguilarstory.com> * [stable/kiam] bump 1.2.2 Signed-off-by: Isa Aguilar <isa@aguilarstory.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
1f6deacd1a
commit
59f9cbfcbb
@@ -1,5 +1,5 @@
|
||||
name: kiam
|
||||
version: 1.2.1
|
||||
version: 1.2.2
|
||||
appVersion: 2.8
|
||||
description: Integrate AWS IAM with Kubernetes
|
||||
keywords:
|
||||
|
||||
@@ -77,8 +77,10 @@ spec:
|
||||
- --key=/etc/kiam/tls/key
|
||||
- --ca=/etc/kiam/tls/ca
|
||||
- --server-address={{ template "kiam.fullname" . }}-server:{{ .Values.server.service.port }}
|
||||
{{- if .Values.agent.prometheus.scrape }}
|
||||
- --prometheus-listen-addr=0.0.0.0:{{ .Values.agent.prometheus.port }}
|
||||
- --prometheus-sync-interval={{ .Values.agent.prometheus.syncInterval }}
|
||||
{{- end }}
|
||||
- --gateway-timeout-creation={{ .Values.agent.gatewayTimeoutCreation }}
|
||||
{{- range $key, $value := .Values.agent.extraArgs }}
|
||||
{{- if $value }}
|
||||
|
||||
@@ -71,8 +71,10 @@ spec:
|
||||
{{- end }}
|
||||
- --session-duration={{ .Values.server.sessionDuration }}
|
||||
- --sync={{ .Values.server.cache.syncInterval }}
|
||||
{{- if .Values.server.prometheus.scrape }}
|
||||
- --prometheus-listen-addr=0.0.0.0:{{ .Values.server.prometheus.port }}
|
||||
- --prometheus-sync-interval={{ .Values.server.prometheus.syncInterval }}
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.server.extraArgs }}
|
||||
{{- if $value }}
|
||||
- --{{ $key }}={{ $value }}
|
||||
|
||||
Reference in New Issue
Block a user