[stable/redis] allowing redis-exporter to talk to redis when NetworkPolicy is enabled (#9687)

* [stable/redis] allowing redis-exporter to talk to redis when NetworkPolicy is enabled

Signed-off-by: Stan Vitkovskiy <stas.vitkovsky@gmail.com>

* [stable/redis] extending NetworkPolicy so that redis-explorer can talk to redis endpoints

Signed-off-by: Stan Vitkovskiy <stas.vitkovsky@gmail.com>
This commit is contained in:
Stanislav Vitkovskiy
2018-12-03 21:48:42 -08:00
committed by Kubernetes Prow Robot
parent 43a94e6fa9
commit 6d2e2e08f3
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: redis
version: 4.3.0
version: 4.3.1
appVersion: 4.0.11
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
keywords:
@@ -22,6 +22,13 @@ spec:
- podSelector:
matchLabels:
{{ template "redis.fullname" . }}-client: "true"
{{- if .Values.metrics.enabled }}
- podSelector:
matchLabels:
release: "{{ .Release.Name }}"
role: metrics
app: {{ template "redis.name" . }}
{{- end }}
{{- end }}
{{- if .Values.metrics.enabled }}
# Allow prometheus scrapes for metrics