fix svc long name (#9245)

Signed-off-by: tombokombo <tombo@sysart.tech>

Signed-off-by: tombokombo <tombo@sysart.tech>
This commit is contained in:
Tomas Hulata 2022-11-05 22:22:15 +01:00 committed by GitHub
parent 3c32413e30
commit 490ecffc52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 115 additions and 1 deletions

View file

@ -67,6 +67,12 @@ func WithDeploymentReplicas(r int) func(*deploymentOptions) {
}
}
func WithName(n string) func(*deploymentOptions) {
return func(o *deploymentOptions) {
o.name = n
}
}
// NewEchoDeployment creates a new single replica deployment of the echo server image in a particular namespace
func (f *Framework) NewEchoDeployment(opts ...func(*deploymentOptions)) {
options := &deploymentOptions{