Skip to content
Snippets Groups Projects
Commit 76be1605 authored by Oleksii Kliukin's avatar Oleksii Kliukin
Browse files

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.
parent a26d1699
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ type Config struct { ...@@ -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' 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"` 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"` 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 // default name `operator` enables backward compatibility with the older ServiceAccountName field
PodServiceAccountName string `name:"pod_service_account_name" default:"operator"` PodServiceAccountName string `name:"pod_service_account_name" default:"operator"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment