mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-21 11:05:16 +02:00
Reorganize Readme (#142)
removing parts of config. * chaning secret name pattern to make things shorter. * Move section on self building docker image. * Fix typo. * Bump image. * bump version for pdb fix. * Changes in regards to review. * Fix xhyve driver link. * Move to new api, remove service account, not needed for minikube. * Changed minimal manifest and example to use right file. * Added service account for operator again, it is needed in pods anyways later.
This commit is contained in:
committed by
Alexander Kukushkin
parent
7a76be7d3e
commit
a98a7c95c2
@@ -2,7 +2,7 @@ apiVersion: "acid.zalan.do/v1"
|
||||
kind: postgresql
|
||||
|
||||
metadata:
|
||||
name: acid-testcluster17
|
||||
name: acid-test-cluster
|
||||
spec:
|
||||
teamId: "ACID"
|
||||
volume:
|
||||
@@ -18,7 +18,7 @@ spec:
|
||||
foo: zalando
|
||||
#Expert section
|
||||
postgresql:
|
||||
version: "9.6"
|
||||
version: "10"
|
||||
parameters:
|
||||
shared_buffers: "32MB"
|
||||
max_connections: "10"
|
||||
@@ -11,8 +11,8 @@ data:
|
||||
debug_logging: "true"
|
||||
dns_name_format: '{cluster}.{team}.staging.{hostedzone}'
|
||||
docker_image: registry.opensource.zalan.do/acid/demospilo-10:1.3-p3
|
||||
secret_name_template: '{username}.{cluster}.credentials'
|
||||
etcd_host: ""
|
||||
secret_name_template: '{username}.{cluster}.credentials.{tprkind}.{tprgroup}'
|
||||
infrastructure_roles_secret_name: postgresql-infrastructure-roles
|
||||
oauth_token_secret_name: postgresql-operator
|
||||
pam_configuration: |
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: "acid.zalan.do/v1"
|
||||
kind: postgresql
|
||||
metadata:
|
||||
name: acid-minimal-cluster
|
||||
spec:
|
||||
teamId: "ACID"
|
||||
volume:
|
||||
size: 1Gi
|
||||
numberOfInstances: 2
|
||||
users:
|
||||
# database owner
|
||||
zalando:
|
||||
- superuser
|
||||
- createdb
|
||||
|
||||
# role for application foo
|
||||
foo_user:
|
||||
|
||||
#databases: name->owner
|
||||
databases:
|
||||
foo: zalando
|
||||
postgresql:
|
||||
version: "10"
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: apps/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: postgres-operator
|
||||
@@ -12,7 +12,7 @@ spec:
|
||||
serviceAccountName: operator
|
||||
containers:
|
||||
- name: postgres-operator
|
||||
image: pierone.stups.zalan.do/acid/postgres-operator:workerassgn
|
||||
image: registry.opensource.zalan.do/acid/postgres-operator:c17aabb
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: WATCH_NAMESPACE
|
||||
|
||||
@@ -2,5 +2,3 @@ apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: operator
|
||||
imagePullSecrets:
|
||||
- name: pierone.example.com
|
||||
|
||||
Reference in New Issue
Block a user