Skip to content

Commit

Permalink
Add external lb (#772)
Browse files Browse the repository at this point in the history
* Add external lb

* Move check for failed out of select

This was likely causing huge resource consumption as the default case is always evaluated.

* Internalize cleanup and wait for continual req to stop

* Ignore context cancelled errors

* Cleanup first cluster wide test

* Make steps more like migration guide and wait on dns

* Wait longer for AWS lb

* Remove return that prevents continual reqs
  • Loading branch information
nrfox authored Jan 30, 2025
1 parent e8add6b commit c021c4c
Show file tree
Hide file tree
Showing 9 changed files with 368 additions and 59 deletions.
2 changes: 0 additions & 2 deletions pkg/tests/ossm/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (
type Istio struct {
Name string
Namespace string
Version string
}

type SMCP struct {
Expand Down Expand Up @@ -103,7 +102,6 @@ func DefaultIstio() Istio {
return Istio{
Name: env.GetIstioName(),
Namespace: env.GetIstioNamespace(),
Version: env.GetIstioVersion(),
}
}

Expand Down
7 changes: 7 additions & 0 deletions pkg/tests/tasks/migration/enable-strict-mtls-peer-auth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: security.istio.io/v1
kind: PeerAuthentication
metadata:
name: default
spec:
mtls:
mode: STRICT
3 changes: 3 additions & 0 deletions pkg/tests/tasks/migration/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ var (
migrationGateway = "bookinfo-gateway.yaml"
)

//go:embed enable-strict-mtls-peer-auth.yaml
var enableMTLSPeerAuth string

func TestMain(m *testing.M) {
test.NewSuite(m).
Setup(ossm.BasicSetup).
Expand Down
Loading

0 comments on commit c021c4c

Please sign in to comment.