mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
43a94e6fa9
commit
6d2e2e08f3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user