Fix conf for minikube (#301)

* Bump up a Spilo version to use Patroni >= v1.4.4 ; this fixes issues with k8s 1.10 API changes

* Bump up an operator version to use the new 'etcd_host' default value

* Re-use 'zalando-postgres-operator' as a pod service account and add extra RBAC permissions to make it work

* Document in quickstart connecting to Postgres via psql
This commit is contained in:
zerg-junior
2018-05-25 12:25:42 +02:00
committed by GitHub
parent 1352c4a5e2
commit 9c86f8bd96
5 changed files with 18 additions and 7 deletions
+3 -3
View File
@@ -11,9 +11,9 @@ data:
debug_logging: "true"
workers: "4"
docker_image: registry.opensource.zalan.do/acid/demospilo-10:1.3-p3
docker_image: registry.opensource.zalan.do/acid/spilo-cdp-10:1.4-p8
pod_service_account_name: "zalando-postgres-operator"
secret_name_template: '{username}.{cluster}.credentials'
# etcd_host: ""
super_username: postgres
enable_teams_api: "false"
# enable_team_superuser: "false"
@@ -28,7 +28,7 @@ data:
db_hosted_zone: db.example.com
master_dns_name_format: '{cluster}.{team}.staging.{hostedzone}'
replica_dns_name_format: '{cluster}-repl.{team}.staging.{hostedzone}'
enable_master_load_balancer: "false"
enable_master_load_balancer: "true"
enable_replica_load_balancer: "false"
pdb_name_format: "postgres-{cluster}-pdb"
@@ -37,6 +37,9 @@ rules:
- create
- delete
- get
- list
- patch
- watch # needed if zalando-postgres-operator account is used for pods as well
- apiGroups:
- ""
resources:
@@ -79,6 +82,7 @@ rules:
- get
- list
- watch
- patch
- apiGroups:
- ""
resources:
+1 -1
View File
@@ -12,7 +12,7 @@ spec:
serviceAccountName: zalando-postgres-operator
containers:
- name: postgres-operator
image: registry.opensource.zalan.do/acid/postgres-operator:4c8dfd7
image: registry.opensource.zalan.do/acid/postgres-operator:1352c4a5e2f5
imagePullPolicy: IfNotPresent
env:
# provided additional ENV vars can overwrite individual config map entries