diff --git a/contrib/helm/harbor/templates/registry/registry-cm.yaml b/contrib/helm/harbor/templates/registry/registry-cm.yaml index 9d470e038..e835f7df0 100644 --- a/contrib/helm/harbor/templates/registry/registry-cm.yaml +++ b/contrib/helm/harbor/templates/registry/registry-cm.yaml @@ -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 diff --git a/contrib/helm/harbor/values.yaml b/contrib/helm/harbor/values.yaml index db4c2e3f5..91897a8e9 100644 --- a/contrib/helm/harbor/values.yaml +++ b/contrib/helm/harbor/values.yaml @@ -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: