Skip to content

Commit

Permalink
Merge pull request #142 from anchore/add-username-to-redis-endpoint
Browse files Browse the repository at this point in the history
add a fake username to redis URI to pass validation
  • Loading branch information
Btodhunter authored Apr 29, 2021
2 parents d37a441 + b971aea commit f9a34a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/anchore-engine/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: anchore-engine
version: 1.12.12
version: 1.12.13
appVersion: 0.9.3
description: Anchore container analysis and policy evaluation engine service
keywords:
Expand Down
2 changes: 1 addition & 1 deletion stable/anchore-engine/templates/enterprise_ui_secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ stringData:
{{- if and (index .Values "anchore-ui-redis" "externalEndpoint") (not (index .Values "anchore-ui-redis" "enabled")) }}
ANCHORE_REDIS_URI: '{{ index .Values "anchore-ui-redis" "externalEndpoint" }}'
{{- else }}
ANCHORE_REDIS_URI: 'redis://:{{ index .Values "anchore-ui-redis" "password" }}@{{ template "redis.fullname" . }}-master:6379'
ANCHORE_REDIS_URI: 'redis://nouser:{{ index .Values "anchore-ui-redis" "password" }}@{{ template "redis.fullname" . }}-master:6379'
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion stable/anchore-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ anchore-ui-redis:
# enabled: false

# If 'enabled: false', specify an external redis endpoint -
# eg redis://:<password>@hostname:6379
# eg redis://nouser:<password>@hostname:6379
externalEndpoint: Null

# Pod configuration for the helm post-install-hook enterprise engine upgrade Job
Expand Down

0 comments on commit f9a34a4

Please sign in to comment.