[stable/kong] Kong prometheus servicemonitor label (#17497)

* Kong - prometheus-operator service monitor selector addition

Signed-off-by: garland <garlandk@gmail.com>

* Kong - bumping chart version for the prometheus-operator selector update

Signed-off-by: garland <garlandk@gmail.com>

* bumping chart version number

Signed-off-by: garland <garlandk@gmail.com>

* Kong - simplifying variable name

Signed-off-by: garland <garlandk@gmail.com>
This commit is contained in:
sekka1
2019-10-05 14:25:11 -07:00
committed by Kubernetes Prow Robot
parent 26dc1ae04e
commit 6a67f5e1bd
4 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -12,5 +12,5 @@ maintainers:
name: kong
sources:
- https://github.com/Kong/kong
version: 0.19.0
version: 0.19.1
appVersion: 1.3
+1 -1
View File
@@ -116,6 +116,7 @@ and their default values.
| serviceMonitor.interval | Scrapping interval | 10s |
| serviceMonitor.namespace | Where to create ServiceMonitor | |
| secretVolumes | Mount given secrets as a volume in Kong container to override default certs and keys. | `[]` |
| serviceMonitor.labels | ServiceMonito Labels | {} |
### Admin/Proxy listener override
@@ -396,4 +397,3 @@ You can can learn about kong ingress custom resource definitions [here](https://
| podDisruptionBudget.enabled | Enable PodDisruptionBudget for ingress controller | `false` |
| podDisruptionBudget.maxUnavailable | Represents the minimum number of Pods that can be unavailable (integer or percentage) | `50%` |
| podDisruptionBudget.minAvailable | Represents the number of Pods that must be available (integer or percentage) | |
@@ -11,6 +11,9 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
{{- if .Values.serviceMonitor.labels }}
{{ toYaml .Values.serviceMonitor.labels | indent 4 }}
{{- end }}
spec:
endpoints:
- targetPort: metrics
+2
View File
@@ -438,3 +438,5 @@ serviceMonitor:
# interval: 10s
# Specifies namespace, where ServiceMonitor should be installed
# namespace: monitoring
# labels:
# foo: bar