diff --git a/charts/redis/templates/logger-redis-statefulset.yaml b/charts/redis/templates/logger-redis-statefulset.yaml index 1bc3094..e5bcfb2 100644 --- a/charts/redis/templates/logger-redis-statefulset.yaml +++ b/charts/redis/templates/logger-redis-statefulset.yaml @@ -18,6 +18,10 @@ spec: labels: app: deis-logger-redis spec: +{{- with .Values.global.affinity }} + affinity: +{{ toYaml . | indent 8 }} +{{- end }} containers: - name: deis-logger-redis image: {{ .Values.org }}/redis:{{ .Values.docker_tag }}