From b28ee2c99fd928794b0a5ce2cc1cf93662281d5f Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Wed, 3 Jul 2024 16:00:26 +0200 Subject: [PATCH] Adding simple OCP Route (#18) Signed-off-by: Matthias Wessendorf --- core/chat-app/config/openshift/100-chat-route.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 core/chat-app/config/openshift/100-chat-route.yaml diff --git a/core/chat-app/config/openshift/100-chat-route.yaml b/core/chat-app/config/openshift/100-chat-route.yaml new file mode 100644 index 0000000..66c3d89 --- /dev/null +++ b/core/chat-app/config/openshift/100-chat-route.yaml @@ -0,0 +1,13 @@ +apiVersion: route.openshift.io/v1 +kind: Route +metadata: + name: chat-app + namespace: default +spec: + port: + targetPort: 8000 + to: + kind: Service + name: chat-app-service + weight: 100 + wildcardPolicy: None