Felix Kunde
4d12615c0d
reflect new pooler parameter in validation + define same pooler image everywhere
2020-03-04 10:38:01 +01:00
Dmitrii Dolgov
619c543b61
E2E tests for connection pool
...
Turn off enableConnectionPool to be able to test it from the scratch.
Add turn on, modify, turn off/on test.
2020-02-24 14:47:47 +01:00
Felix Kunde
cf85db5d7a
merge with master and resolve conflict
2020-02-20 10:09:13 +01:00
Felix Kunde
742d7334a1
use cluster-name as default label everywhere ( #782 )
...
* use cluster-name as default label everywhere
* fix e2e test
2020-02-19 15:01:01 +01:00
Felix Kunde
aea9e9bd33
postgres-pod clusterrole ( #832 )
...
* define postgres-pod clusterrole and align rbac in chart
* align UI chart rbac with operator and update doc
* operator RBAC needs podsecuritypolicy to grant it to postgres-pod
2020-02-19 12:32:54 +01:00
Dmitrii Dolgov
e11f787664
Rename replicas to avoid potential confusion about terminology
2020-02-13 16:34:02 +01:00
Felix Kunde
c9a1c8e6b4
add enableConnectionPool to validation and some nior fixes
2020-02-13 14:13:06 +01:00
Felix Kunde
f2c9905123
reflect connectionPool validation in Go code and publish in manifests and chart
2020-02-13 12:54:32 +01:00
Vito Botta
a660d758a5
Add region setting for logical backups to non-AWS storage ( #813 )
...
* Add region setting for logical backups to non-AWS storage
2020-02-10 11:48:24 +01:00
Felix Kunde
1f0312a014
make minimum limits boundaries configurable ( #808 )
...
* make minimum limits boundaries configurable
* add e2e test
2020-02-03 11:43:18 +01:00
Felix Kunde
7af1de890c
bump operator v1.3.0 with Spilo 12 image ( #770 )
2019-12-17 17:13:56 +01:00
Felix Kunde
107334fe71
Add global option to enable/disable init containers and sidecars ( #478 )
...
* Add global option to enable/disable init containers and sidecars
* update dependencies
2019-12-10 15:45:54 +01:00
Felix Kunde
a3b34f146f
Add CRD validation ( #599 )
...
* add CRD manifests with validation
* update documentation
* patroni slots is not an array but a nested hash map
* make deps call tools
* cover validation in docs and export it in crds.go
* add toggle to disable creation of CRD validation and document it
* use templated service account also for CRD-configured helm deployment
2019-11-28 12:02:05 +01:00
Armin Nesiren
5f87384d7f
Passing endpoint, access and secret key to logical-backup container ( #628 )
...
* Added possibility to add custom annotations to LoadBalancer service.
* Added parameters for custom endpoint, access and secret key for logical backup.
* Modified dump.sh so it knows how to handle new features. Configurable S3 SSE
2019-11-26 10:40:49 +01:00
Felix Kunde
de14323f8e
disable load balancers by default in examples ( #715 )
2019-11-12 10:57:48 +01:00
Thomas Runyon
535517cd1b
Custom annotations 329 ( #657 )
...
* Add ability for custom annotations to database pods
2019-11-11 10:45:35 +01:00
Erik Inge Bolsø
e3b39a5cbe
document configmap variant of inherited_labels ( #678 )
...
* document configmap varient of inherited_labels and remove application label from cluster example since we will get application:spilo by default
2019-10-05 10:10:02 +02:00
Sergey Dudoladov
cf97ebb2b8
fix e2e tests ( #672 )
...
* fix e2e tests
* change Spilo version everywhere
2019-09-23 17:48:53 +02:00
Felix Kunde
4a099d698d
bump to v1.2.0 ( #631 )
...
* bump to v1.2.0
* yaml lint: add one more space before incline comments
2019-07-25 12:23:53 +02:00
Felix Kunde
7c19cf50db
align config map, operator config, helm chart values and templates ( #595 )
...
* align config map, operator config, helm chart values and templates
* follow helm chart conventions also in CRD templates
* split up values files and add comments
* avoid yaml confusion in postgres manifests
* bump spilo version and use example for logical_backup_s3_bucket
* add ConfigTarget switch to values
2019-07-08 17:49:25 +02:00
Felix Kunde
36003b8264
enable shmVolume setting in OperatorConfiguration ( #605 )
...
* enable shmVolume setting in OperatorConfiguration
2019-07-05 16:48:37 +02:00
Markus
93bfed3e75
Add secret mount to operator ( #535 )
...
* add secret mount to operator
2019-06-19 12:40:49 +02:00
Felix Kunde
5a0e95ac45
Add CRD configuration to Helm chart values.yaml ( #559 )
...
* add templates for CRDs incl. crd-install hooks
* support both config styles in values.yaml
* fix ServiceAccount naming in values.yaml
2019-06-03 14:48:32 +02:00
Erik Inge Bolsø
ebda39368e
database.go: remove hardcoded .svc.cluster.local dns suffix ( #561 )
...
* database.go: substitute hardcoded .svc.cluster.local dns suffix with config parameter
Use the pod's configured dns search path, for clusters where .svc.cluster.local is not correct.
2019-05-31 16:32:00 +02:00
Sergey Dudoladov
f3e1e80aaf
Add logical backup ( #442 )
...
* Add k8s cron job to spawn logical backups
* Minor doc updates
2019-05-16 15:52:01 +02:00
Sergey Dudoladov
c1d108a832
Fix CRD-based operator configuration ( #541 )
...
* Fix CRD-based operator configuration
* add inherited labels, update docker image
2019-04-15 13:52:38 +02:00
Aaron Miller
15ec6a920d
Config option to allow Spilo container to run non-privileged. ( #525 )
...
* Config option to allow Spilo container to run non-privileged.
Runs non-privileged by default.
Fixes #395
* add spilo_privileged to manifests/configmap.yaml
* add spilo_privileged to helm chart's values.yaml
2019-04-03 17:13:39 +02:00
Sergey Dudoladov
0b53dbe5dc
Set statefulset update and management policy explicitly ( #515 )
...
* fix logging in retry
* explicitly set the stateful set update strategy to onDelete
* add podManagementPolicy
2019-03-13 11:49:18 +01:00
Sergey Dudoladov
f400539b69
Retry moving master pods ( #463 )
...
* Retry moving master pods
* bump up master pod wait timeout
2019-02-28 16:19:27 +01:00
Sergey Dudoladov
43e8288751
Fix run operator locally ( #462 )
...
* make test namespace optional
* Update spilo/operator images
* Add a command to replace operator image w/o minikube restart
2019-01-29 11:10:14 +01:00
Armin Nesiren
6f6a599c90
Added possibility to add custom annotations to LoadBalancer service. ( #461 )
...
* Added possibility to add custom annotations to LoadBalancer service.
2019-01-25 11:35:27 +01:00
Jan Mussler
7445678261
bump spilo versions. ( #439 )
2019-01-04 12:25:38 +01:00
zerg-junior
c0b0b9a832
[WIP] Add 'admin' option to create role ( #425 )
...
* Add 'admin' option to create role
* Fix run_locally_script
2018-12-27 10:14:33 +01:00
zerg-junior
45c89b3da4
[WIP] Add set_memory_request_to_limit option ( #406 )
...
* Add set_memory_request_to_limit option
2018-11-15 14:00:08 +01:00
zerg-junior
ccaee94a35
Minor improvements ( #381 )
...
* Minor improvements
* Document empty list vs null for users without privileges
* Change the wording for null values
* Add talk by Oleksii in Atmosphere
2018-11-06 11:08:13 +01:00
zerg-junior
7394c15d0a
Make AWS region configurable in the operator cofig map ( #333 )
2018-06-27 17:29:02 +02:00
zerg-junior
9c86f8bd96
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
2018-05-25 12:25:42 +02:00
Oleksii Kliukin
40163677c7
Remove Kubernetes upgrade-related labels
...
The node_eol_label is obsolete and not used.
The node_readiness_label, if set, will prevent scheduling pods on the node without that label, by default minikube doesn't set any label on the node.
2018-05-08 15:50:10 +02:00
Jan M
2bb3bdeeb4
Slimming out README and config map, targeting easy first time deployers to minicube.
2018-05-04 12:20:54 +02:00
Sergey Dudoladov
c31c76281c
Make operator unaware of its own service account
2018-04-23 14:38:20 +02:00
zerg-junior
ff5793b584
Merge pull request #258 from zalando-incubator/always-create-replica-service
...
[WIP] Always create replica service
2018-03-29 14:42:26 +02:00
Sergey Dudoladov
96d46252f5
Change the default values to closer match previous behaviour
2018-03-26 11:43:46 +02:00
Sergey Dudoladov
a8862aeee1
Enable backward compatibility for enable_load_balancer setting from operator configmap
2018-03-19 17:19:50 +01:00
Sergey Dudoladov
0986e56226
Add separate params for master and replica load balancers to operator configuration
2018-03-14 12:12:28 +01:00
Sergey Dudoladov
6839ce0170
Fix configuration of dns names
2018-03-12 12:45:52 +01:00
Sergey Dudoladov
dcfc9925f6
Respond to code review
2018-02-20 14:43:02 +01:00
Sergey Dudoladov
4c23917d42
Watch all namespaces if the relevant param is empty string / 'default' if param is unset
2018-02-12 11:47:56 +01:00
Sergey Dudoladov
c0bc8eaa6d
Comment manifests
2018-02-08 15:15:47 +01:00
Sergey Dudoladov
8b7bbde06e
Make env var overwrite configmap setting for watching namespaces
2018-02-06 16:12:47 +01:00
Sergey Dudoladov
0ef801f4e0
Add example of the watched namespace to the operator config map
2018-02-06 15:16:21 +01:00