mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
nginx-ingress - Support labels on the metrics service (#8561)
Signed-off-by: Kevin Pullin <kevin.pullin@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
116a0aa53d
commit
0840816aef
@@ -1,5 +1,5 @@
|
||||
name: nginx-ingress
|
||||
version: 1.0.1
|
||||
version: 1.0.2
|
||||
appVersion: 0.21.0
|
||||
home: https://github.com/kubernetes/ingress-nginx
|
||||
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
|
||||
|
||||
@@ -118,6 +118,7 @@ Parameter | Description | Default
|
||||
`controller.metrics.service.annotations` | annotations for Prometheus metrics service | `{}`
|
||||
`controller.metrics.service.clusterIP` | cluster IP address to assign to service | `""`
|
||||
`controller.metrics.service.externalIPs` | Prometheus metrics service external IP addresses | `[]`
|
||||
`controller.metrics.service.labels` | labels for metrics service | `{}`
|
||||
`controller.metrics.service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""`
|
||||
`controller.metrics.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]`
|
||||
`controller.metrics.service.servicePort` | Prometheus metrics service port | `9913`
|
||||
|
||||
@@ -9,6 +9,9 @@ metadata:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- if .Values.controller.metrics.service.labels }}
|
||||
{{ toYaml .Values.controller.metrics.service.labels | indent 4 }}
|
||||
{{- end }}
|
||||
app: {{ template "nginx-ingress.name" . }}
|
||||
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||
component: "{{ .Values.controller.name }}"
|
||||
|
||||
Reference in New Issue
Block a user