From 2d51104671ae198c8e711b64463a37a0e7f9bba3 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Wed, 15 Mar 2023 11:09:49 +0800 Subject: [HOLMES] Changed the way for MSB registration Register Holmes MSB through an annotation in the Helm chart. Enable/Disable TLS via an env variable. Added Ingress Configurations Issue-ID: HOLMES-612 Signed-off-by: Guangrong Fu Change-Id: If1bd8a62ea3840943ccd04cbcc16442f65fd434b --- .../components/holmes-engine-mgmt/values.yaml | 23 +++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'kubernetes/holmes/components/holmes-engine-mgmt/values.yaml') diff --git a/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml b/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml index d2ad0d4771..c9c62e78a3 100644 --- a/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml +++ b/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml @@ -30,7 +30,7 @@ global: # Application configuration defaults. ################################################################# # application image -image: onap/holmes/engine-management:11.0.0 +image: onap/holmes/engine-management:12.0.1 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0 ################################################################# @@ -59,6 +59,13 @@ config: dbUser: admin dbUserPassword: admin # dbUserCredsExternalSecret + msb: + serviceName: msb-iag + port: 80 + aai: + aaiPort: 80 + username: AAI + password: AAI service: type: ClusterIP @@ -66,6 +73,20 @@ service: ports: - name: http-rest port: &svc_port 9102 + annotations: + msb.onap.org/service-info: | + {{ if .Values.global.msbEnabled -}}[ + { + "serviceName": "holmes-engine-mgmt", + "version": "v1", + "url": "/api/holmes-engine-mgmt/v1", + "path":"/api/holmes-engine-mgmt/v1", + "protocol": "REST", + "visualRange":"0|1", + "port": "9102", + "enable_ssl": false + } + ]{{ end }} # probe configuration parameters liveness: -- cgit 1.2.3-korg