use functional options to reduce number of methods creating an EchoDeployment (#8199)
This commit is contained in:
parent
0f464333a9
commit
dcd552ceb5
20 changed files with 75 additions and 51 deletions
|
|
@ -150,7 +150,7 @@ var _ = framework.DescribeAnnotation("proxy-ssl-*", func() {
|
|||
ginkgo.It("proxy-ssl-location-only flag should change the nginx config server part", func() {
|
||||
host := "proxyssl.com"
|
||||
|
||||
f.NewEchoDeploymentWithNameAndReplicas("echodeployment", 1)
|
||||
f.NewEchoDeployment(framework.WithDeploymentName("echodeployment"))
|
||||
|
||||
secretName := "secretone"
|
||||
annotations := make(map[string]string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue