Skip to content

Commit

Permalink
feat(redis-ha): add containerSecurityContext to redis-exporter contai…
Browse files Browse the repository at this point in the history
…ner (#236)

Signed-off-by: Toni Tauro <toni.tauro@adfinis.com>

Signed-off-by: Toni Tauro <toni.tauro@adfinis.com>
  • Loading branch information
eyenx authored Dec 8, 2022
1 parent 56de011 commit 169cad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/redis-ha/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- redis
- keyvalue
- database
version: 4.22.3
version: 4.22.4
appVersion: 7.0.4
description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management
icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png
Expand Down
1 change: 1 addition & 0 deletions charts/redis-ha/templates/redis-ha-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ spec:
{{- range $key, $value := .Values.exporter.extraArgs }}
- --{{ $key }}={{ $value }}
{{- end }}
securityContext: {{ toYaml .Values.containerSecurityContext | nindent 10 }}
env:
- name: REDIS_ADDR
{{- if .Values.exporter.sslEnabled }}
Expand Down

0 comments on commit 169cad7

Please sign in to comment.