bump to v1.2.0 (#631)

* bump to v1.2.0
* yaml lint: add one more space before incline comments
This commit is contained in:
Felix Kunde 2019-07-25 12:23:53 +02:00 committed by GitHub
parent cd350a4bc1
commit 4a099d698d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 20 additions and 21 deletions

View File

@ -43,7 +43,7 @@ rules:
- get - get
- list - list
- patch - patch
- watch # needed if zalando-postgres-operator account is used for pods as well - watch # needed if zalando-postgres-operator account is used for pods as well
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -76,7 +76,7 @@ rules:
verbs: verbs:
- get - get
- list - list
- update # only for resizing AWS volumes - update # only for resizing AWS volumes
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -145,7 +145,7 @@ rules:
- apiGroups: - apiGroups:
- batch - batch
resources: resources:
- cronjobs # enables logical backups - cronjobs # enables logical backups
verbs: verbs:
- create - create
- delete - delete

View File

@ -1,7 +1,7 @@
image: image:
registry: registry.opensource.zalan.do registry: registry.opensource.zalan.do
repository: acid/postgres-operator repository: acid/postgres-operator
tag: v1.1.0-54-g3a914f9 tag: v1.2.0
pullPolicy: "IfNotPresent" pullPolicy: "IfNotPresent"
# Optionally specify an array of imagePullSecrets. # Optionally specify an array of imagePullSecrets.
@ -98,7 +98,7 @@ configKubernetes:
# whether the Spilo container should run in privileged mode # whether the Spilo container should run in privileged mode
spilo_privileged: false spilo_privileged: false
# operator watches for postgres objects in the given namespace # operator watches for postgres objects in the given namespace
watched_namespace: "*" # listen to all namespaces watched_namespace: "*" # listen to all namespaces
# configure resource requests for the Postgres pods # configure resource requests for the Postgres pods
configPostgresPodResources: configPostgresPodResources:

View File

@ -1,7 +1,7 @@
image: image:
registry: registry.opensource.zalan.do registry: registry.opensource.zalan.do
repository: acid/postgres-operator repository: acid/postgres-operator
tag: v1.1.0-54-g3a914f9 tag: v1.2.0
pullPolicy: "IfNotPresent" pullPolicy: "IfNotPresent"
# Optionally specify an array of imagePullSecrets. # Optionally specify an array of imagePullSecrets.
@ -94,7 +94,7 @@ configKubernetes:
# whether the Spilo container should run in privileged mode # whether the Spilo container should run in privileged mode
spilo_privileged: "false" spilo_privileged: "false"
# operator watches for postgres objects in the given namespace # operator watches for postgres objects in the given namespace
watched_namespace: "*" # listen to all namespaces watched_namespace: "*" # listen to all namespaces
# configure resource requests for the Postgres pods # configure resource requests for the Postgres pods
configPostgresPodResources: configPostgresPodResources:

View File

@ -13,13 +13,13 @@ spec:
size: 1Gi size: 1Gi
# storageClass: my-sc # storageClass: my-sc
numberOfInstances: 2 numberOfInstances: 2
users: # Application/Robot users users: # Application/Robot users
zalando: zalando:
- superuser - superuser
- createdb - createdb
enableMasterLoadBalancer: true enableMasterLoadBalancer: true
enableReplicaLoadBalancer: true enableReplicaLoadBalancer: true
allowedSourceRanges: # load balancers' source ranges for both master and replica services allowedSourceRanges: # load balancers' source ranges for both master and replica services
- 127.0.0.1/32 - 127.0.0.1/32
databases: databases:
foo: zalando foo: zalando
@ -66,14 +66,14 @@ spec:
# clone: # clone:
# uid: "efd12e58-5786-11e8-b5a7-06148230260c" # uid: "efd12e58-5786-11e8-b5a7-06148230260c"
# cluster: "acid-batman" # cluster: "acid-batman"
# timestamp: "2017-12-19T12:40:33+01:00" # timezone required (offset relative to UTC, see RFC 3339 section 5.6) # timestamp: "2017-12-19T12:40:33+01:00" # timezone required (offset relative to UTC, see RFC 3339 section 5.6)
# s3_wal_path: "s3://custom/path/to/bucket" # s3_wal_path: "s3://custom/path/to/bucket"
# run periodic backups with k8s cron jobs # run periodic backups with k8s cron jobs
# enableLogicalBackup: true # enableLogicalBackup: true
# logicalBackupSchedule: "30 00 * * *" # logicalBackupSchedule: "30 00 * * *"
maintenanceWindows: maintenanceWindows:
- 01:00-06:00 #UTC - 01:00-06:00 #UTC
- Sat:00:00-04:00 - Sat:00:00-04:00
# sidecars: # sidecars:
# - name: "telegraf-sidecar" # - name: "telegraf-sidecar"

View File

@ -76,5 +76,5 @@ data:
# teams_api_url: http://fake-teams-api.default.svc.cluster.local # teams_api_url: http://fake-teams-api.default.svc.cluster.local
# toleration: "" # toleration: ""
# wal_s3_bucket: "" # wal_s3_bucket: ""
watched_namespace: "*" # listen to all namespaces watched_namespace: "*" # listen to all namespaces
workers: "4" workers: "4"

View File

@ -9,11 +9,11 @@ spec:
size: 1Gi size: 1Gi
numberOfInstances: 2 numberOfInstances: 2
users: users:
zalando: # database owner zalando: # database owner
- superuser - superuser
- createdb - createdb
foo_user: [] # role for application foo foo_user: [] # role for application foo
databases: databases:
foo: zalando # dbname: owner foo: zalando # dbname: owner
postgresql: postgresql:
version: "10" version: "10"

View File

@ -44,7 +44,7 @@ rules:
- get - get
- list - list
- patch - patch
- watch # needed if zalando-postgres-operator account is used for pods as well - watch # needed if zalando-postgres-operator account is used for pods as well
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -77,7 +77,7 @@ rules:
verbs: verbs:
- get - get
- list - list
- update # only for resizing AWS volumes - update # only for resizing AWS volumes
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -146,7 +146,7 @@ rules:
- apiGroups: - apiGroups:
- batch - batch
resources: resources:
- cronjobs # enables logical backups - cronjobs # enables logical backups
verbs: verbs:
- create - create
- delete - delete

View File

@ -15,7 +15,7 @@ spec:
serviceAccountName: zalando-postgres-operator serviceAccountName: zalando-postgres-operator
containers: containers:
- name: postgres-operator - name: postgres-operator
image: registry.opensource.zalan.do/acid/smoke-tested-postgres-operator:v1.0.0-37-g2422d72 image: registry.opensource.zalan.do/acid/postgres-operator:v1.2.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
requests: requests:

View File

@ -1,4 +1,3 @@
apiVersion: "acid.zalan.do/v1" apiVersion: "acid.zalan.do/v1"
kind: postgresql kind: postgresql
metadata: metadata:
@ -16,5 +15,5 @@ spec:
s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/" s3_wal_path: "s3://path/to/bucket/containing/wal/of/source/cluster/"
maintenanceWindows: maintenanceWindows:
- 01:00-06:00 #UTC - 01:00-06:00 #UTC
- Sat:00:00-04:00 - Sat:00:00-04:00