[bitnami/harbor] Fix SCANNER_REDIS_URL for trivy-scanner (#4079)

* Fix SCANNER_REDIS_URL for trivy-scanner

* Add older env vars for backwards compatibility
This commit is contained in:
David Young
2020-10-24 01:09:17 +13:00
committed by GitHub
parent 05eae0696d
commit 7b4c9b068b
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: harbor
version: 8.1.0
version: 8.1.1
appVersion: 2.1.0
description: Harbor is an an open source trusted cloud native registry project that stores, signs, and scans content
keywords:

View File

@@ -14,6 +14,7 @@ metadata:
type: Opaque
data:
SCANNER_TRIVY_GITHUB_TOKEN: {{ .Values.trivy.gitHubToken | default "" | b64enc | quote }}
SCANNER_REDIS_URL: {{ include "harbor.redisForTrivyAdapter" . | b64enc }}
SCANNER_STORE_REDIS_URL: {{ include "harbor.redisForTrivyAdapter" . | b64enc }}
SCANNER_JOB_QUEUE_REDIS_URL: {{ include "harbor.redisForTrivyAdapter" . | b64enc }}
{{- end }}