From 76be1605b23d9d59b02b03137b866442f15234e3 Mon Sep 17 00:00:00 2001
From: Oleksii Kliukin <oleksii.kliukin@zalando.de>
Date: Thu, 24 May 2018 17:13:45 +0200
Subject: [PATCH] Reconsider patroni_use_kubernetes default to true.

It will not break existing setups, since it will be overriden by
the non-empty etcd_host parameter.
---
 pkg/util/config/config.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/util/config/config.go b/pkg/util/config/config.go
index 1ff9a5ea..b40e7c44 100644
--- a/pkg/util/config/config.go
+++ b/pkg/util/config/config.go
@@ -70,7 +70,7 @@ type Config struct {
 
 	WatchedNamespace     string `name:"watched_namespace"` // special values: "*" means 'watch all namespaces', the empty string "" means 'watch a namespace where operator is deployed to'
 	EtcdHost             string `name:"etcd_host" default:"etcd-client.default.svc.cluster.local:2379"`
-	PatroniUseKubernetes bool   `name:"patroni_use_kubernetes" default:"false"`
+	PatroniUseKubernetes bool   `name:"patroni_use_kubernetes" default:"true"`
 	DockerImage          string `name:"docker_image" default:"registry.opensource.zalan.do/acid/spiloprivate-9.6:1.2-p4"`
 	// default name `operator` enables backward compatibility with the older ServiceAccountName field
 	PodServiceAccountName string `name:"pod_service_account_name" default:"operator"`
-- 
GitLab