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