[HOLMES] Add missing Ingress definition 26/133626/2
authorAndreas Geissler <andreas-geissler@telekom.de>
Mon, 13 Mar 2023 12:02:44 +0000 (13:02 +0100)
committerAndreas Geissler <andreas-geissler@telekom.de>
Mon, 13 Mar 2023 16:02:10 +0000 (17:02 +0100)
Holmes rule management requires an Ingress definition

Issue-ID: OOM-3101

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I56fb1570ec1416dde70d6ea43b03135f87876a1b

kubernetes/holmes/components/holmes-rule-mgmt/templates/ingress.yaml [new file with mode: 0644]
kubernetes/holmes/components/holmes-rule-mgmt/values.yaml

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 (file)
index 0000000..bcc60a0
--- /dev/null
@@ -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" . }}
index 0a25527..2320095 100644 (file)
@@ -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