You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/04/21 06:41:31 UTC

[incubator-streampipes] branch dev updated: #STREAMPIPES-532 Fixed k8s errors due to outdated spec

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 090ccb279 #STREAMPIPES-532 Fixed k8s errors due to outdated spec
     new abdd0240e Merge pull request #87 from devinbost/dev
090ccb279 is described below

commit 090ccb279db7d0c933f00072e9d53b61b1aea330
Author: Devin Bost <db...@overstock.com>
AuthorDate: Wed Apr 20 18:53:24 2022 -0500

    #STREAMPIPES-532 Fixed k8s errors due to outdated spec
---
 installer/k8s/templates/core/ui-ingress.yaml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/installer/k8s/templates/core/ui-ingress.yaml b/installer/k8s/templates/core/ui-ingress.yaml
index c6cd0d2bd..2f0c2933c 100644
--- a/installer/k8s/templates/core/ui-ingress.yaml
+++ b/installer/k8s/templates/core/ui-ingress.yaml
@@ -13,11 +13,18 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-apiVersion: extensions/v1beta1
+apiVersion: networking.k8s.io/v1
 kind: Ingress
 metadata:
   name: streampipes
 spec:
-  backend:
-    serviceName: ui
-    servicePort: 80
\ No newline at end of file
+  rules:
+  - http:
+      paths:
+      - path: /
+        pathType: Prefix
+        backend:
+          service: 
+            name: ui
+            port: 
+              number: 80