mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
Add redis cache support for registry pod
This commit is contained in:
parent
5089b26cf8
commit
047cd83e05
@ -24,6 +24,10 @@ data:
|
|||||||
enabled: false
|
enabled: false
|
||||||
delete:
|
delete:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
{{- if .Values.registry.redis }}
|
||||||
|
redis:
|
||||||
|
{{ toYaml .Values.registry.redis | indent 6 }}
|
||||||
|
{{- end }}
|
||||||
http:
|
http:
|
||||||
addr: :5000
|
addr: :5000
|
||||||
# set via environment variable
|
# set via environment variable
|
||||||
|
@ -254,7 +254,12 @@ registry:
|
|||||||
# requests:
|
# requests:
|
||||||
# memory: 256Mi
|
# memory: 256Mi
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
|
## Enable the redis caching in the registry
|
||||||
|
#redis:
|
||||||
|
# addr: "redis-host:6379"
|
||||||
|
# db: 2
|
||||||
|
|
||||||
|
|
||||||
clair:
|
clair:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
|
Loading…
Reference in New Issue
Block a user