Skip to content

Commit 9382ec0

Browse files
committed
chore(redis): provide any additional service annotations
1 parent e999ac2 commit 9382ec0

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

charts/redis/templates/redis-svc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ apiVersion: v1
33
kind: Service
44
metadata:
55
name: drycc-redis
6+
annotations:
7+
{{- with .Values.service.annotations }}
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
610
labels:
711
heritage: drycc
812
spec:

charts/redis/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ replicas: 1
1111
# The following parameters are configured only when using an off-cluster Redis instance
1212
addrs: "" # A list of clusters: "127.0.0.1:7001/1,127.0.0.2:7002/1"
1313
password: "redis password" # "" == no password
14+
15+
# Service
16+
service:
17+
# Provide any additional service annotations
18+
annotations: {}
19+
1420
# GCP PDs and EBS volumes are supported only
1521
persistence:
1622
enabled: false # Set to true to enable persistence

0 commit comments

Comments
 (0)