1006 Commits
Author SHA1 Message Date
Felix Kunde 3962e71ddd bump to v1.6.1 (#1367)
* bump tp v1.6.1
* update UI chart
* improve docs and manifest examples
* use Spilo 2.0-r4 and update docs
* minor updates to admin docs
v1.6.1
2021-02-18 13:38:27 +01:00
georgebarbarosie cee4bf82c7 small fix for postgresql CRD (#1368) 2021-02-18 08:21:26 +01:00
Felix Kunde 41858a702c making pgTeamMap a pointer (#1349)
* making pgTeamMap a pointer
* init empty map
* add e2e test for additional teams and members
* update test_min_resource_limits
* add more waiting in node_affinity_test
* no need for pointers in map of postgresTeamMebership
* another minor update on node affinity test
* refactor and fix fetching additional members
2021-02-16 10:38:20 +01:00
balibebas 137fbbf41e update quickstart to add k3d (#1334) 2021-02-15 17:22:25 +01:00
Felix Kunde 837f845a1c update kubectl-pg plugin (#1264)
* update kubectl-pg plugin
* fix remaining build issues and update go modules
* some more README updates
2021-02-15 17:13:07 +01:00
Michael Seiwald 17da6bc649 Truncate cronjob name at 52 characters (#1208) 2021-02-15 17:00:21 +01:00
Jan Mussler 772f0ca771 Fix volume sync order. (#1340) 2021-02-12 17:36:11 +01:00
Tommaso Pozzetti c1c0d5faa1 Fix operator configs runasuser and runasgroup (#1361)
This commit fixes a typo in the operator's configuration
that would lead to the configs spilo_runasuser and
spilo_runasgroup to be ignored.
2021-02-12 11:04:23 +01:00
Felix Kunde 4d2b51de41 upgrade pip to latest version to avoid broken deps (#1357) 2021-02-10 11:24:24 +01:00
zvier 6aeb92f024 code optimization (#1350)
* pre-allocate cap for slice structure
* if clause is no need because of range, and kubelet also use range
  method to get each capability so there is no side-effect

Signed-off-by: Jeff Zvier <zvier20@gmail.com>
2021-02-09 09:35:24 +01:00
Aaron Peschel 2c3cd3ae02 Fix CI Pipeline (#1345)
This commit attempts to fix the CI issues by upgrading the checkout
action to v2. This fix is documented by the coverallsapp upstream.
2021-02-03 14:41:29 +01:00
Felix Kunde 0cce565b65 fix when adding only one capability (#1339)
* fix when adding only one capability

* fix error messages in unit test
2021-01-29 16:10:27 +01:00
Felix Kunde 12ad8c91fa configurable container capabilities (#1336)
* configurable container capabilities

* revert change on TestTLS

* fix e2e test

* minor fix
2021-01-29 14:54:48 +01:00
Jan Mussler d488ae10a0 Min 2 zalando approvers. (#1338) 2021-01-29 11:12:08 +01:00
Victor Login 9d5841cdaa Update values.yaml (#1333) 2021-01-27 10:11:44 +01:00
Jan Mussler 43168ca622 Also sync volumes on updates. (#1330) 2021-01-25 20:28:37 +01:00
Felix Kunde ac2a00c45e set allowPrivilegeEscalation for deployment templates (#1328)
* set allowPrivilegeEscalation for deployment templates

* securityContext of container, not pod

* aligning

* default service account for pooler
2021-01-25 18:23:29 +01:00
Sergey DudoladovandSergey Dudoladov 5ecb7b42e0 persist modified go.sum (#1329)
Co-authored-by: Sergey Dudoladov <sergey.dudoladov@zalando.de>
2021-01-25 17:00:14 +01:00
Jan MusslerandFelix Kunde 4a88f00a3f Full AWS gp3 support for iops and througput config. (#1261)
Support new AWS EBS volume type `gp3` with `iops` and `throughput` in the manifest.

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2021-01-25 10:07:18 +01:00
Felix Kunde 4ea0b5f432 set AllowPrivilegeEscalation on container securityContext (#1326) 2021-01-22 14:06:19 +01:00
Rafia SabihandRafia Sabih a9b677c957 Use fake client for connection pooler (#1301)
Connection pooler creation, deletion, and synchronization now tested using fake client API.

Co-authored-by: Rafia Sabih <rafia.sabih@zalando.de>
2021-01-19 17:40:20 +01:00
Felix Kunde 2b45478f3a add host info to connection docs (#1319) 2021-01-19 10:47:32 +01:00
Felix Kunde 258799b420 allow additional members from other teams (#1314) 2021-01-15 15:11:02 +01:00
Rafia SabihandRafia Sabih e398cf8c7e Avoid syncing when possible (#1274)
Avoid extra syncing in case there are no changes in pooler requirements.
Add pooler specific labels to pooler secrets.
Add test case to check for pooler secret creation and deletion.

Co-authored-by: Rafia Sabih <rafia.sabih@zalando.de>
2021-01-14 09:53:09 +01:00
Felix Kunde ff46bb069b update docker base images and UI dependencies (#1302)
* update docker base images and UI dependencies
* use latest compliant base image
2021-01-13 10:40:55 +01:00
dervoeti 010865f5d9 Fix typo in operatorconfigurations CRD (#1305)
* fix typo in operatorconfigurations crd

* fix typo in operatorconfigurations manifest
2021-01-12 15:39:54 +01:00
Felix Kunde f927d6616c add default values to operatorconfiguration crd (#1283)
* add default values to operatorconfiguration crd

* leave default for enable_master_load_balancer to true

* add missing bits for new logical backup option

* fix wrong lb tag and update chart package
2021-01-11 17:24:24 +01:00
Felix Kunde 2eac36d003 update year in generated code and maintainer info in Dockerfiles (#1298)
* update year in generated code and maintainer info in Dockerfiles

* minor update in admin docs
2021-01-08 17:07:28 +01:00
polarclair 50cb5898ea Update workers to the new default (#1284) 2021-01-08 15:46:38 +01:00
Sergey DudoladovandSergey Dudoladov b7f4cde541 wrap getting Patroni state into retry (#1293)
Retry calls to Patorni API to get cluster state

Co-authored-by: Sergey Dudoladov <sergey.dudoladov@zalando.de>
2021-01-08 15:08:44 +01:00
Pavel Tumik 9d94e018ff fix incorrect tag for logical backup docker image (#1295) 2021-01-08 12:30:28 +01:00
Felix Kunde 646c28e9c9 [UI] on read_pods filter only spilo pods (#1297) 2021-01-08 12:00:23 +01:00
Felix Kunde 260714b657 fix typo in pooler env variable (#1294) 2021-01-07 15:16:09 +01:00
Sergey DudoladovandSergey Dudoladov 168b679506 add a prefix for the name of a logical backup job (#1287)
* add a prefix for the name of a logical backup job

Co-authored-by: Sergey Dudoladov <sergey.dudoladov@zalando.de>
2021-01-07 10:38:07 +01:00
Felix Kunde a21504555b add logical backup provider and gcs examples (#1282)
* add logical backup provider and gcs examples
* update jandelgado/gcov2lcov-action
2021-01-04 11:52:42 +01:00
Tom Stewart f6c51abff6 update depreciated MAINTAINER field (#1276) 2021-01-04 11:52:08 +01:00
Felix Kunde 586b46d006 fix port and quickstart (#1266) v1.6.0 2020-12-18 15:31:59 +01:00
Felix KundeandJan Mussler 102178409b bump tp v1.6.0 (#1265)
* bump tp v1.6.0
* update logical-backup image
* Using smaller image for e2e test.
* fix env var name in docs
* add postgresql-client-13 to logical backup image

Co-authored-by: Jan Mussler <janm81@gmail.com>
2020-12-18 13:10:35 +01:00
Felix Kunde 07c4f52ede use pointer type for nodeAffinity (#1263)
* use pointer type for nodeAffinity
2020-12-18 12:07:59 +01:00
Jan MusslerandFelix Kunde a63ad49ef8 Initial commit for new 1.6 release with Postgres 13 support. (#1257)
* Initial commit for new 1.6 release with Postgres 13 support.
* Updating maintainers, Go version, Codeowners.
* Use lazy upgrade image that contains pg13.
* fix typo for ownerReference
* fix clusterrole in helm chart
* reflect GCP logical backup in validation
* improve PostgresTeam docs
* change defaults for enable_pgversion_env_var and storage_resize_mode
* explain manual part of in-place upgrade
* remove gsoc docs

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2020-12-17 15:00:29 +01:00
Felix Kunde 5f3f6988bc add logical-backup build and push to delivery.yaml (#1259)
* add logical-backup build and push to delivery.yaml
* enable manual approval for UI and logical-backup
2020-12-17 12:07:40 +01:00
Felix Kunde 636ba9b846 [UI] reflect new backup paths and cluster status (#1260)
* [UI] reflect new backup paths and cluster status
2020-12-16 15:23:06 +01:00
77252e316c Add node affinity support (#1166)
* Adding nodeaffinity support alongside node_readiness_label
* add documentation for node affinity
* add node affinity e2e test
* add unit test for node affinity

Co-authored-by: Steffen Pøhner Henriksen <str3sses@gmail.com>
Co-authored-by: Adrian Astley <adrian.astley@activision.com>
2020-12-16 14:56:28 +01:00
Rafia SabihandRafia Sabih f28706e940 Sync sts at pgversion upgrade (#1256)
When pgversion is updated to a higher major version number, sync statefulSets also.

Co-authored-by: Rafia Sabih <rafia.sabih@zalando.de>
2020-12-16 13:50:24 +01:00
Pavel Tumik 5076e669cb Fix timestamp regex (#1178) 2020-12-16 11:17:08 +01:00
Enno BolandandEnno Boland 4b90809ade helm-chart: allow configmaps instead of endpoints for leader elections… (#1037)
* helm-chart: allow configmaps instead of endpoints if leader elections uses the configmaps method

* helm-chart: allow endpoints get even if config maps are used

* helm-chart: allow configmaps instead of endpoints on the operator role too.

Co-authored-by: Enno Boland <mail@eboland.de>
2020-12-16 10:44:25 +01:00
Pavel Tumik fbd04896c2 Add ability to upload logical backup to gcs (#1173)
Support logical backup provider/storage S3 and GCS equivalent
2020-12-16 10:41:08 +01:00
Felix Kunde 929075814a diff SecurityContext of containers (#1255)
* diff SecurityContext of containers
* change log messages to use "does not" vs "doesn't"
2020-12-15 10:06:53 +01:00
Felix Kunde 83fbccac5a new env var for backwards compatability between spilo 12 and 13 (#1254) 2020-12-14 18:43:53 +01:00
Felix Kunde 028f23eec7 raise pooler image and fix pgversion config in chart (#1253)
* raise pooler image and fix pgversion config in chart
* enable_ebs_gp3_migration_max_size with quotes
* set ConnectionPoolerMinInstances to 1
2020-12-14 12:37:09 +01:00