Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: YiscahLevySilas1 <[email protected]>
  • Loading branch information
YiscahLevySilas1 committed Oct 16, 2023
1 parent f9fa144 commit 9e38864
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"apiVersion": "networking.k8s.io/v1",
"kind": "Ingress",
"metadata": {
"name": "my-ingress"
"name": "my-ingress",
"namespace": "default"
},
"spec": {
"ingressClassName": "nginx",
Expand Down Expand Up @@ -54,6 +55,28 @@
"spec.rules[0].http.paths[0].backend.service.name"
],
"fixPaths": null
},
{
"object": {
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "my-service",
"namespace": "default"
},
"spec": {
"ports": [
{
"port": 80,
"targetPort": 80
}
],
"selector": {
"app": "my-app"
},
"type": "ClusterIP"
}
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: my-ingress
namespace: default
spec:
ingressClassName: nginx
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: my-service
namespace: default
spec:
selector:
app: my-app
Expand Down

0 comments on commit 9e38864

Please sign in to comment.