mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[kube2iam] - add labels to ServiceMonitor (#21605)
Signed-off-by: Alex Williams <alex.williams@skyscanner.net>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: kube2iam
|
||||
version: 2.4.0
|
||||
version: 2.5.0
|
||||
appVersion: 0.10.9
|
||||
description: Provide IAM credentials to pods based on annotations.
|
||||
keywords:
|
||||
|
||||
@@ -61,6 +61,7 @@ Parameter | Description | Default
|
||||
`prometheus.serviceMonitor.enabled` | If true, create a Prometheus Operator ServiceMonitor resource | `false`
|
||||
`prometheus.serviceMonitor.interval` | Interval at which the metrics endpoint is scraped | `10s`
|
||||
`prometheus.serviceMonitor.namespace` | An alternative namespace in which to install the ServiceMonitor | `""`
|
||||
`prometheus.serviceMonitor.labels` | Labels to add to the ServiceMonitor | `{}`
|
||||
`rbac.create` | If true, create & use RBAC resources | `false`
|
||||
`rbac.serviceAccountName` | existing ServiceAccount to use (ignored if rbac.create=true) | `default`
|
||||
`resources` | pod resource requests & limits | `{}`
|
||||
|
||||
@@ -11,6 +11,9 @@ metadata:
|
||||
helm.sh/chart: {{ template "kube2iam.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- if .Values.prometheus.serviceMonitor.labels }}
|
||||
{{- toYaml .Values.prometheus.serviceMonitor.labels | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
|
||||
@@ -32,6 +32,8 @@ prometheus:
|
||||
interval: 10s
|
||||
# Alternative namespace to install the ServiceMonitor in
|
||||
namespace: ""
|
||||
# Labels to add to the service monitor
|
||||
labels: {}
|
||||
|
||||
image:
|
||||
repository: jtblin/kube2iam
|
||||
|
||||
Reference in New Issue
Block a user