Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sunjay Bhatia <[email protected]>
  • Loading branch information
sunjayBhatia committed Mar 14, 2024
1 parent fafbff8 commit 594c79a
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
1 change: 1 addition & 0 deletions examples/contour/03-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ spec:
name: https
protocol: TCP
- containerPort: 8002
hostPort: 8002
name: metrics
protocol: TCP
readinessProbe:
Expand Down
1 change: 1 addition & 0 deletions examples/deployment/03-envoy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ spec:
name: https
protocol: TCP
- containerPort: 8002
hostPort: 8002
name: metrics
protocol: TCP
readinessProbe:
Expand Down
1 change: 1 addition & 0 deletions examples/render/contour-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9195,6 +9195,7 @@ spec:
name: https
protocol: TCP
- containerPort: 8002
hostPort: 8002
name: metrics
protocol: TCP
readinessProbe:
Expand Down
1 change: 1 addition & 0 deletions examples/render/contour-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8999,6 +8999,7 @@ spec:
name: https
protocol: TCP
- containerPort: 8002
hostPort: 8002
name: metrics
protocol: TCP
readinessProbe:
Expand Down
1 change: 1 addition & 0 deletions examples/render/contour.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9183,6 +9183,7 @@ spec:
name: https
protocol: TCP
- containerPort: 8002
hostPort: 8002
name: metrics
protocol: TCP
readinessProbe:
Expand Down
9 changes: 0 additions & 9 deletions test/e2e/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,15 +561,6 @@ func (d *Deployment) mutatePodTemplate(pts core_v1.PodTemplateSpec) core_v1.PodT
// Remove shutdown-manager container.
pts.Spec.Containers = pts.Spec.Containers[1:]

// Expose the metrics & admin interfaces via host port to test from outside the kind cluster.
pts.Spec.Containers[0].Ports = append(pts.Spec.Containers[0].Ports,
core_v1.ContainerPort{
Name: "metrics",
ContainerPort: 8002,
HostPort: 8002,
Protocol: core_v1.ProtocolTCP,
})

return pts
}

Expand Down

0 comments on commit 594c79a

Please sign in to comment.