Skip to content

Commit

Permalink
[prom-label-proxy] Add svc annotations support (prometheus-community#…
Browse files Browse the repository at this point in the history
…3581)

Co-authored-by: 7840vz <[email protected]>
  • Loading branch information
2 people authored and Matiasmct committed Aug 25, 2023
1 parent f4b0c3f commit caac1a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prom-label-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: prom-label-proxy
description: A proxy that enforces a given label in a given PromQL query.
type: application
version: 0.3.0
version: 0.4.0
appVersion: "v0.6.0"
home: "https://github.com/prometheus-community/prom-label-proxy"
keywords:
Expand Down
4 changes: 4 additions & 0 deletions charts/prom-label-proxy/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
namespace: {{ template "prom-label-proxy.namespace" . }}
labels:
{{- include "prom-label-proxy.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
ports:
Expand Down

0 comments on commit caac1a1

Please sign in to comment.