Skip to content

Commit

Permalink
Deployment/ Service changes for app in test (#192)
Browse files Browse the repository at this point in the history
* Update app-deployment.yaml

* Update app-service.yaml
  • Loading branch information
shukitchan authored Jan 26, 2024
1 parent c310224 commit 6a000f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 8 additions & 1 deletion tests/data/setup/apps/app-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ spec:
value: app1
ports:
- containerPort: 8080
name: http
protocol: TCP
---
apiVersion: apps/v1
kind: Deployment
Expand All @@ -77,7 +79,8 @@ spec:
value: app2
ports:
- containerPort: 8080

name: http
protocol: TCP
---

apiVersion: apps/v1
Expand All @@ -104,6 +107,8 @@ spec:
value: app1
ports:
- containerPort: 8080
name: http
protocol: TCP
---
apiVersion: apps/v1
kind: Deployment
Expand All @@ -129,3 +134,5 @@ spec:
value: app2
ports:
- containerPort: 8080
name: http
protocol: TCP
6 changes: 4 additions & 2 deletions tests/data/setup/apps/app-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ metadata:
spec:
ports:
- port: 8080
name: "appsvc1http"
protocol: TCP
targetPort: 8080
selector:
Expand All @@ -49,7 +50,7 @@ metadata:
spec:
ports:
- port: 8080
name: "main"
name: "appsvc2http"
protocol: TCP
targetPort: 8080

Expand All @@ -66,6 +67,7 @@ metadata:
spec:
ports:
- port: 8080
name: "appsvc1http"
protocol: TCP
targetPort: 8080
selector:
Expand All @@ -79,7 +81,7 @@ metadata:
spec:
ports:
- port: 8080
name: "main"
name: "appsvc2http"
protocol: TCP
targetPort: 8080

Expand Down

0 comments on commit 6a000f6

Please sign in to comment.