fixed test
This commit is contained in:
parent
06d2286eb4
commit
2e4556a12c
1 changed files with 2 additions and 2 deletions
|
@ -67,11 +67,11 @@ func WithDeploymentNamespace(n string) func(*deploymentOptions) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithSvcTopologyAnnotations create svc with topology aware hints sets to auto
|
// WithSvcTopologyAnnotations create svc with topology mode sets to auto
|
||||||
func WithSvcTopologyAnnotations() func(*deploymentOptions) {
|
func WithSvcTopologyAnnotations() func(*deploymentOptions) {
|
||||||
return func(o *deploymentOptions) {
|
return func(o *deploymentOptions) {
|
||||||
o.svcAnnotations = map[string]string{
|
o.svcAnnotations = map[string]string{
|
||||||
"service.kubernetes.io/topology-aware-hints": "auto",
|
"service.kubernetes.io/topology-mode": "auto",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue