mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[prometheus-nats-exporter] support service annotations (#914)
* support annotations in nats-exporter service Signed-off-by: brunopadz <bpadz@protonmail.com> * fix helm templating Signed-off-by: brunopadz <bpadz@protonmail.com> * Update charts/prometheus-nats-exporter/templates/service.yaml Co-authored-by: Mikhail Naletov <36846182+okgolove@users.noreply.github.com> Signed-off-by: brunopadz <bpadz@protonmail.com> * fix templating Signed-off-by: brunopadz <bpadz@protonmail.com> Co-authored-by: Mikhail Naletov <36846182+okgolove@users.noreply.github.com>
This commit is contained in:
co-authored by
Mikhail Naletov
parent
769fd3a283
commit
031d542cc6
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 0.7.0
|
||||
description: A Helm chart for prometheus-nats-exporter
|
||||
name: prometheus-nats-exporter
|
||||
version: 2.6.0
|
||||
version: 2.7.0
|
||||
home: https://github.com/nats-io/prometheus-nats-exporter
|
||||
sources:
|
||||
- https://github.com/nats-io/prometheus-nats-exporter
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
name: {{ include "prometheus-nats-exporter.fullname" . }}
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "prometheus-nats-exporter.name" . }}
|
||||
|
||||
@@ -10,6 +10,7 @@ image:
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
service:
|
||||
annotations: {}
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
targetPort: 7777
|
||||
|
||||
Reference in New Issue
Block a user