From c484d900deed2c9faf452a67c8f489477e647d4b Mon Sep 17 00:00:00 2001
From: Aleksei Lunin <alexey.lunin@vereign.com>
Date: Tue, 31 Oct 2023 23:22:46 +0300
Subject: [PATCH] infra fixes

---
 infra/ocm-deployment.yaml | 2 +-
 infra/ocm-service.yaml    | 8 ++++----
 infra/ocm-ui-service.yaml | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/infra/ocm-deployment.yaml b/infra/ocm-deployment.yaml
index bfd398f9..da1c6868 100644
--- a/infra/ocm-deployment.yaml
+++ b/infra/ocm-deployment.yaml
@@ -29,7 +29,7 @@ spec:
             - name: AGENT_PEER_URL
               value: "https://ocm-agent.vereign-labs.com"
             - name: AGENT_NAME
-              value: "OCM labs" # this should be changed to company name
+              value: "OCM_labs" # this should be changed to company name
             - name: AGENT_KEY
               value: OCM_LABS #example random string
             - name: AGENT_DID_SEED
diff --git a/infra/ocm-service.yaml b/infra/ocm-service.yaml
index 123bbe13..e2cf1879 100644
--- a/infra/ocm-service.yaml
+++ b/infra/ocm-service.yaml
@@ -7,15 +7,15 @@ spec:
   selector:
     app: ocm
   ports:
-    - protocol: TCP
+    - name: api
       port: 8080
       targetPort: 8080
-    - protocol: TCP
+    - name: api-rest
       port: 8081
       targetPort: 8081
-    - protocol: TCP
+    - name: agent
       port: 8001
       targetPort: 8001
-    - protocol: TCP
+    - name: something
       port: 6001
       targetPort: 6001
diff --git a/infra/ocm-ui-service.yaml b/infra/ocm-ui-service.yaml
index 7467ccb7..21ab7d05 100644
--- a/infra/ocm-ui-service.yaml
+++ b/infra/ocm-ui-service.yaml
@@ -7,6 +7,6 @@ spec:
   selector:
     app: ocm-ui
   ports:
-    - protocol: TCP
+    - name: http
       port: 80
       targetPort: 80
-- 
GitLab