Skip to content

Commit

Permalink
Added uiUrl option to values.yaml for notification redirect back to t…
Browse files Browse the repository at this point in the history
…he UI (#67)

* Added uiUrl option to values.yaml for notification redirect back to the UI

Signed-off-by: Ben Lang <[email protected]>

* Bumped chart version

Signed-off-by: Ben Lang <[email protected]>
  • Loading branch information
blang9238 authored Sep 18, 2020
1 parent 739d86f commit e138550
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
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: v1
name: anchore-engine
version: 1.9.4
version: 1.9.5
appVersion: 0.8.1
description: Anchore container analysis and policy evaluation engine service
keywords:
Expand Down
4 changes: 4 additions & 0 deletions stable/anchore-engine/templates/enterprise_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ data:
endpoint: "http://localhost:{{- .Values.anchoreEnterpriseRbac.service.authPort }}"
cycle_timers:
{{- toYaml .Values.anchoreEnterpriseNotifications.cycleTimers | nindent 10 }}
{{- if .Values.anchoreEnterpriseNotifications.uiUrl }}
ui_url: "{{ .Values.anchoreEnterpriseNotifications.uiUrl }}"
{{- else }}
ui_url: {{ include "anchore-engine.enterprise-ui.fullname" . | quote }}
{{- end }}
{{- end }}
{{- end -}}
3 changes: 3 additions & 0 deletions stable/anchore-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,9 @@ anchoreEnterpriseNotifications:
cycleTimers:
notifications: 30

# Set the UI URL that is included in the notification
# uiUrl: "http://<ui_url>"

# Kubernetes service config - annotations & serviceType configs must be set in anchoreApi
# Due to Reports sharing a service with the general API.
service:
Expand Down

0 comments on commit e138550

Please sign in to comment.