Add redis cache support for registry pod

This commit is contained in:
Steven Arnott 2018-04-30 13:04:05 -04:00
parent 5089b26cf8
commit 047cd83e05
2 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,10 @@ data:
enabled: false
delete:
enabled: true
{{- if .Values.registry.redis }}
redis:
{{ toYaml .Values.registry.redis | indent 6 }}
{{- end }}
http:
addr: :5000
# set via environment variable

View File

@ -254,7 +254,12 @@ registry:
# requests:
# memory: 256Mi
# cpu: 100m
## Enable the redis caching in the registry
#redis:
# addr: "redis-host:6379"
# db: 2
clair:
enabled: true
image: