Merge pull request #4830 from GrantStreetGroup/helm-registry-redis

Add redis cache support for registry pod
This commit is contained in:
Jesse Hu 2018-05-02 19:05:29 +08:00 committed by GitHub
commit 5a07d55859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -25,6 +25,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

@ -255,7 +255,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: