From b4d92128b6966bbf6f87d36efb09f0580615672f Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Thu, 3 Mar 2022 20:48:16 +0800 Subject: [HOLMES] Fixed the healthcheck failure Fixed the healthcheck failure occurred in the auto-tests. Issue-ID: HOLMES-512 Signed-off-by: Guangrong Fu Change-Id: I2e3d89b8dc8b27412008ca36f1e6209a47a997db --- .../components/holmes-engine-mgmt/templates/deployment.yaml | 8 ++++++-- kubernetes/holmes/components/holmes-engine-mgmt/values.yaml | 5 ++++- .../holmes/components/holmes-rule-mgmt/templates/deployment.yaml | 8 ++++++-- kubernetes/holmes/components/holmes-rule-mgmt/values.yaml | 5 ++++- 4 files changed, 20 insertions(+), 6 deletions(-) (limited to 'kubernetes/holmes/components') diff --git a/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml b/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml index aef0c8c22a..dd7bb4552e 100644 --- a/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml +++ b/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml @@ -95,8 +95,12 @@ spec: value: consul-server.{{ include "common.namespace" . }} - name: CONFIG_BINDING_SERVICE value: config-binding-service - - name: msb_hostname - value: "msb-iag.onap" + - name: MSB_IAG_SERVICE_PROTOCOL + value: {{ .Values.global.msbProtocol }} + - name: MSB_IAG_SERVICE_HOST + value: {{ .Values.global.msbServiceName }}.{{ include "common.namespace" . }} + - name: MSB_IAG_SERVICE_PORT + value: {{ .Values.global.msbPort | quote }} - name: POD_IP valueFrom: fieldRef: diff --git a/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml b/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml index d9dfa2d96e..c8ec225545 100644 --- a/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml +++ b/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml @@ -20,12 +20,15 @@ ################################################################# global: nodePortPrefixExt: 302 + msbProtocol: https + msbServiceName: msb-iag + msbPort: 443 ################################################################# # Application configuration defaults. ################################################################# # application image -image: onap/holmes/engine-management:10.0.0 +image: onap/holmes/engine-management:10.0.2 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0 ################################################################# diff --git a/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml b/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml index f3e9ce5dde..21a96568cb 100644 --- a/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml +++ b/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml @@ -93,8 +93,12 @@ spec: value: consul-server.{{ include "common.namespace" . }} - name: CONFIG_BINDING_SERVICE value: config-binding-service - - name: msb_hostname - value: "msb-iag.onap" + - name: MSB_IAG_SERVICE_PROTOCOL + value: {{ .Values.global.msbProtocol }} + - name: MSB_IAG_SERVICE_HOST + value: {{ .Values.global.msbServiceName }}.{{ include "common.namespace" . }} + - name: MSB_IAG_SERVICE_PORT + value: {{ .Values.global.msbPort | quote}} - name: POD_IP valueFrom: fieldRef: diff --git a/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml b/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml index d26e88d193..94076194e0 100644 --- a/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml +++ b/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml @@ -20,12 +20,15 @@ ################################################################# global: nodePortPrefixExt: 302 + msbProtocol: https + msbServiceName: msb-iag + msbPort: 443 ################################################################# # Application configuration defaults. ################################################################# # application image -image: onap/holmes/rule-management:10.0.0 +image: onap/holmes/rule-management:10.0.2 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0 ################################################################# -- cgit 1.2.3-korg