From de16d4094511712f12587571d7d272d68f898975 Mon Sep 17 00:00:00 2001 From: Sam Dacanay Date: Fri, 22 Jan 2021 13:34:58 -0800 Subject: [PATCH] =?UTF-8?q?Use=20the=20API=20hostname=20so=20that=20the=20?= =?UTF-8?q?notifications=20service=20can=20be=20accessi=E2=80=A6=20(#111)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Use the API hostname so that the notifications service can be accessible from the catalog service Signed-off-by: Samuel Dacanay * bump version Signed-off-by: Samuel Dacanay * fix reports too Signed-off-by: Samuel Dacanay --- stable/anchore-engine/Chart.yaml | 2 +- stable/anchore-engine/templates/enterprise_configmap.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/anchore-engine/Chart.yaml b/stable/anchore-engine/Chart.yaml index 2a70c52a..444189b1 100644 --- a/stable/anchore-engine/Chart.yaml +++ b/stable/anchore-engine/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: anchore-engine -version: 1.11.3 +version: 1.11.4 appVersion: 0.9.0 description: Anchore container analysis and policy evaluation engine service keywords: diff --git a/stable/anchore-engine/templates/enterprise_configmap.yaml b/stable/anchore-engine/templates/enterprise_configmap.yaml index ac7382b3..b7b658b7 100644 --- a/stable/anchore-engine/templates/enterprise_configmap.yaml +++ b/stable/anchore-engine/templates/enterprise_configmap.yaml @@ -109,7 +109,7 @@ data: reports: enabled: true require_auth: true - endpoint_hostname: {{ template "anchore-engine.enterprise-reports.fullname" . }} + endpoint_hostname: {{ template "anchore-engine.api.fullname" . }} listen: '0.0.0.0' port: {{ .Values.anchoreEnterpriseReports.service.port }} max_request_threads: {{ default 50 .Values.anchoreEnterpriseReports.maxRequestThreads }} @@ -132,7 +132,7 @@ data: notifications: enabled: true require_auth: true - endpoint_hostname: {{ template "anchore-engine.enterprise-notifications.fullname" . }} + endpoint_hostname: {{ template "anchore-engine.api.fullname" . }} listen: '0.0.0.0' port: {{ .Values.anchoreEnterpriseNotifications.service.port }} max_request_threads: {{ default 50 .Values.anchoreEnterpriseNotifications.maxRequestThreads }}