mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 00:54:06 +02:00
move controller config to the spec package
This commit is contained in:
@@ -48,7 +48,7 @@ func newMockKubernetesClient() k8sutil.KubernetesClient {
|
||||
}
|
||||
|
||||
func newMockController() *Controller {
|
||||
controller := NewController(&Config{})
|
||||
controller := NewController(&spec.ControllerConfig{})
|
||||
controller.opConfig.ClusterNameLabel = "cluster-name"
|
||||
controller.opConfig.InfrastructureRolesSecretName =
|
||||
spec.NamespacedName{Namespace: v1.NamespaceDefault, Name: testInfrastructureRolesSecretName}
|
||||
|
||||
Reference in New Issue
Block a user