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

kichan pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a000f6  Deployment/ Service changes for app in test (#192)
6a000f6 is described below

commit 6a000f67f0adef8c785b29631813cd129516dcb8
Author: Kit Chan <kic...@apache.org>
AuthorDate: Fri Jan 26 13:27:58 2024 -0800

    Deployment/ Service changes for app in test (#192)
    
    * Update app-deployment.yaml
    
    * Update app-service.yaml
---
 tests/data/setup/apps/app-deployment.yaml | 9 ++++++++-
 tests/data/setup/apps/app-service.yaml    | 6 ++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/tests/data/setup/apps/app-deployment.yaml 
b/tests/data/setup/apps/app-deployment.yaml
index 73a9ff6..934db1d 100644
--- a/tests/data/setup/apps/app-deployment.yaml
+++ b/tests/data/setup/apps/app-deployment.yaml
@@ -52,6 +52,8 @@ spec:
           value: app1
         ports:
         - containerPort: 8080
+          name: http
+          protocol: TCP        
 ---
 apiVersion: apps/v1
 kind: Deployment
@@ -77,7 +79,8 @@ spec:
           value: app2
         ports:
         - containerPort: 8080
-
+          name: http
+          protocol: TCP
 ---
 
 apiVersion: apps/v1
@@ -104,6 +107,8 @@ spec:
           value: app1
         ports:
         - containerPort: 8080
+          name: http
+          protocol: TCP
 ---
 apiVersion: apps/v1
 kind: Deployment
@@ -129,3 +134,5 @@ spec:
           value: app2
         ports:
         - containerPort: 8080
+          name: http
+          protocol: TCP
diff --git a/tests/data/setup/apps/app-service.yaml 
b/tests/data/setup/apps/app-service.yaml
index 260c8cf..1c184df 100644
--- a/tests/data/setup/apps/app-service.yaml
+++ b/tests/data/setup/apps/app-service.yaml
@@ -36,6 +36,7 @@ metadata:
 spec:
   ports:
   - port: 8080
+    name: "appsvc1http"
     protocol: TCP
     targetPort: 8080
   selector:
@@ -49,7 +50,7 @@ metadata:
 spec:
   ports:
   - port: 8080
-    name: "main"
+    name: "appsvc2http"
     protocol: TCP
     targetPort: 8080
 
@@ -66,6 +67,7 @@ metadata:
 spec:
   ports:
   - port: 8080
+    name: "appsvc1http"
     protocol: TCP
     targetPort: 8080
   selector:
@@ -79,7 +81,7 @@ metadata:
 spec:
   ports:
   - port: 8080
-    name: "main"
+    name: "appsvc2http"
     protocol: TCP
     targetPort: 8080
 

Reply via email to