mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 17:01:16 +02:00
Use Kubernetes API instead of API group
This commit is contained in:
@@ -50,6 +50,9 @@ func ControllerConfig() *controller.Config {
|
||||
}
|
||||
|
||||
restClient, err := k8sutil.KubernetesRestClient(restConfig)
|
||||
if err != nil {
|
||||
log.Fatalf("Can't create rest client: %s", err)
|
||||
}
|
||||
|
||||
return &controller.Config{
|
||||
KubeClient: client,
|
||||
|
||||
Reference in New Issue
Block a user