From 54f3d17790740f7c249318de2ae832c54b90ae0a Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Mon, 13 Mar 2023 13:02:44 +0100 Subject: [HOLMES] Add missing Ingress definition Holmes rule management requires an Ingress definition Issue-ID: OOM-3101 Signed-off-by: Andreas Geissler Change-Id: I56fb1570ec1416dde70d6ea43b03135f87876a1b --- .../components/holmes-rule-mgmt/templates/ingress.yaml | 17 +++++++++++++++++ .../holmes/components/holmes-rule-mgmt/values.yaml | 11 +++++++++++ 2 files changed, 28 insertions(+) create mode 100644 kubernetes/holmes/components/holmes-rule-mgmt/templates/ingress.yaml (limited to 'kubernetes/holmes/components') diff --git a/kubernetes/holmes/components/holmes-rule-mgmt/templates/ingress.yaml b/kubernetes/holmes/components/holmes-rule-mgmt/templates/ingress.yaml new file mode 100644 index 0000000000..bcc60a0953 --- /dev/null +++ b/kubernetes/holmes/components/holmes-rule-mgmt/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{/* +# Copyright © 2023 Deutsche Telekom +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +*/}} + +{{ include "common.ingress" . }} diff --git a/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml b/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml index 0a2552719f..2320095652 100644 --- a/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml +++ b/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml @@ -1,6 +1,7 @@ #============LICENSE_START======================================================== # ================================================================================ # Copyright (c) 2021 ZTE Corporation Intellectual Property. All rights reserved. +# Modifications 2023 Deutsche Telekom # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -71,6 +72,16 @@ service: port: 9104 nodePort: 93 +ingress: + enabled: false + service: + - baseaddr: 'holmes-api' + name: 'holmes-rule-mgmt' + port: 9101 + - baseaddr: 'holmes-ui' + name: 'holmes-rule-mgmt' + port: 9104 + # probe configuration parameters liveness: initialDelaySeconds: 10 -- cgit 1.2.3-korg