mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus-postgres-exporter] Add .Values.service.annotations (#10038)
Signed-off-by: Manuel Thomassen <thom@ssen.codes>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b6e7b24796
commit
00dbcf3469
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "0.4.6"
|
||||
description: A Helm chart for prometheus postgres-exporter
|
||||
name: prometheus-postgres-exporter
|
||||
version: 0.5.0
|
||||
version: 0.5.1
|
||||
home: https://github.com/wrouesnel/postgres_exporter
|
||||
sources:
|
||||
- https://github.com/wrouesnel/postgres_exporter
|
||||
|
||||
@@ -41,6 +41,7 @@ The following table lists the configurable parameters of the postgres Exporter c
|
||||
| `image` | Image | `wrouesnel/postgres_exporter` |
|
||||
| `imageTag` | Image tag | `v0.4.6` |
|
||||
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `service.annotations` | annotations for the service | `{}` |
|
||||
| `service.type` | Service type | `ClusterIP` |
|
||||
| `service.port` | The service port | `80` |
|
||||
| `service.targetPort` | The target port of the container | `9187` |
|
||||
|
||||
@@ -2,6 +2,10 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "prometheus-postgres-exporter.fullname" . }}
|
||||
{{- if .Values.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app: {{ template "prometheus-postgres-exporter.name" . }}
|
||||
chart: {{ template "prometheus-postgres-exporter.chart" . }}
|
||||
|
||||
@@ -13,6 +13,7 @@ service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
targetPort: 9187
|
||||
annotations: {}
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
|
||||
Reference in New Issue
Block a user