Commit Graph

1055 Commits

Author SHA1 Message Date
Felix Kunde 32d60f90ae fixing config.go 2021-05-21 10:38:55 +02:00
Felix Kunde 1f87100c85 add exmaples to manifests 2021-05-20 18:48:58 +02:00
Felix Kunde 3972a33516 minor change 2021-05-20 15:55:29 +02:00
Felix Kunde 37ac851d33 some aligning in values.yaml files for teamAPI section 2021-05-20 15:53:55 +02:00
Felix Kunde 1ce1e0c9e7 minor fix 2021-05-20 15:42:32 +02:00
Felix Kunde 3fa3ab1ca9 disable team member deprecation by default 2021-05-20 15:40:47 +02:00
Felix Kunde fb38bf7aeb added more comments and error out if teams api is unavailable 2021-05-20 11:15:10 +02:00
Felix Kunde d32645626c report correct number of found additional members 2021-05-17 17:25:15 +02:00
Felix Kunde b3d30e076d fix e2e test 2021-05-17 15:01:25 +02:00
Felix Kunde 92e6dcf068 Merge branch 'master' into rename-removed-roles 2021-05-17 14:24:10 +02:00
Felix Kunde 7a8dc6084d
use 0.20.6 K8s release (#1495) 2021-05-17 14:14:31 +02:00
Felix Kunde 8d58ceb339 rename suffix and pgUser field 2021-05-17 12:11:36 +02:00
Felix Kunde 044e92a609 update feature documentation 2021-05-14 09:32:43 +02:00
Felix Kunde cc27740be1 retry role query in e2e test and do not wait 2021-05-12 16:29:18 +02:00
Felix Kunde 4b96ab848d wait just 5s longer for sync 2021-05-12 15:32:00 +02:00
Felix Kunde c342558fb6 add unit test for StringSliceReplaceElement 2021-05-12 14:43:36 +02:00
Felix Kunde 869502e721 deny LOGIN from deprecated roles 2021-05-12 11:53:14 +02:00
Jan Mussler a993300325
Update readme to reflect major version upgrade. (#1488) 2021-05-12 10:50:16 +02:00
Felix Kunde e75f5b5240 revert change in cluster_test 2021-05-11 09:58:52 +02:00
Felix Kunde 635c81e70f Merge branch 'master' into rename-removed-roles 2021-05-11 09:48:49 +02:00
Quan Hoang 18e2efe4e3
Update sts when modifying additionalVolumes (#1474) 2021-05-10 12:16:47 +02:00
Felix Kunde f0f7f25d30
Fix go lint errors (#1468)
* fix linter errors
* fix linter errors in kubectl plugin
* update PyYAML dependency in e2e tests
* declare a testVolume in volume_test
2021-05-10 11:48:03 +02:00
Felix Kunde c4e05d96ab add Deprecated field in e2e test 2021-04-23 10:40:47 +02:00
Felix Kunde 1e2dbe4712 make suffix configurable and add deprecated field to pgUser struct 2021-04-23 09:57:34 +02:00
Felix Kunde 32e6c135b9
replace statefulset on annotation diff (#1449)
* replace statefulset on annotation diff
* remove update annotation function for statefulset
* add unit test for syncing annotations
* add inherited annotation to unit test
2021-04-22 11:22:52 +02:00
Felix Kunde eb20c5829b no pgUsers check needed when filling cache 2021-04-21 17:36:14 +02:00
Felix Kunde 5eac3e86ac reflect code review 2021-04-21 17:16:43 +02:00
Felix Kunde f18cc4913d extend PostgresTeam e2e test 2021-04-16 14:38:10 +02:00
Felix Kunde be6a3cfbe0 rename re-addedwq roles 2021-04-16 12:12:06 +02:00
Felix Kunde 7164adb74d rename only team users using a cache 2021-04-15 16:59:03 +02:00
Felix Kunde 2efea31cfa add special case for pooler role 2021-04-15 12:06:16 +02:00
Felix Kunde 45a6c4603b revert some changes 2021-04-14 18:46:02 +02:00
Felix Kunde f3f389c586 check systemUsers not normal pgUsers 2021-04-14 16:14:13 +02:00
Felix Kunde d97743e7ec rename db roles that are removed from manifests 2021-04-14 12:09:05 +02:00
Felix Kunde 6b73ac4282
fix pooler sync with empty cluster name (#1448) 2021-04-09 14:08:28 +02:00
Felix Kunde 0745ce7cce
Remove team label from UI deployment (#1444)
* helm chart remove 1.6.0 archive from 1.6.0 archive
* remove team label from UI deployment
2021-04-07 17:22:06 +02:00
Aisuko bd6db87bf7
Fix broken address of user documents (#1443)
Signed-off-by: aisuko <urakiny@gmail.com>
2021-04-07 17:21:16 +02:00
Felix Kunde c18241f187
Bump v1.6.2 (#1433)
* helm chart remove 1.6.0 archive from 1.6.0 archive

* bump operator to v1.6.2

* fix pointer deref

* skip connection pooler sync when empty

* revert pooler change and minor update to version msg

* do not log query on error when creating or altering users
2021-04-01 11:53:07 +02:00
neelasha-09 9e93c0a4ef
Fix for AllowPrivilegeEscalation : issue-1403 (#1412)
* Fix for AllowPrivilegeEscalation : issue-1403

* fixed syntax error

* Aligned the value for parameter

* Aligned the value for parameter

* Update crds.go

* Aligned the parameter spilo_allow_privilege_escalation

* Parameters sorted in Alphabetical order in manifests yaml

* Parameters sorted in Alphabetical order in manifests yaml

* Update pkg/controller/operator_config.go

* Update docs/reference/operator_parameters.md

Co-authored-by: Neelam Sharma <neelasha@amdocs.com>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2021-03-29 10:37:59 +02:00
Dat Tang f54435ea9c
[UI] Parameterize TEAMS list (#1375)
* Parameterize TEAMS list

* Update charts/postgres-operator-ui/values.yaml

* Update charts/postgres-operator-ui/values.yaml

Co-authored-by: Dat Tang <datthanh.tag-ext@bankelf.eu>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2021-03-29 10:37:50 +02:00
machine424 78bfba85d2
create global default privileges in the appropriate prepared databases (#1421) 2021-03-26 14:19:26 +01:00
Pierre PÉRONNET ffbcb701ab
fix(chart) update comments (#1402)
Signed-off-by: Pierre Péronnet <pierre.peronnet@ovhcloud.com>
2021-03-26 10:05:44 +01:00
Steve Singer 66f37d6c03
Update developer docs to say that GO 1.15 or newer is required. (#1415)
Fixes issue 1414
2021-03-26 10:02:25 +01:00
Felix Kunde c9acd52700
Major version upgrade config (#1386)
* reflect new major version upgrade options everywhere

* emit events during major version upgrade
2021-03-09 15:28:15 +01:00
Felix Kunde ff8143770c
Improve rolling upgrades and rolling upgrade continue (#1341)
* add TODOs for moving rooling update label on pods
* steer rolling update via pod annotation
* rename patch method and fix reading flag on sync
* pass only pods to recreatePods function
* do not take address of iterator if you use it later
* add e2e test and pass switchover targets to recreatePods
* add wait_for_pod_failover for e2e test
* add one more e2e test case
* helm chart remove 1.6.0 archive from 1.6.0 archive
* reflect code review feedback
2021-02-26 15:38:58 +01:00
Jan Mussler e837751ae0
Log result. (#1387) 2021-02-26 14:54:26 +01:00
Jan Mussler 636a9a8191
Support major version upgrade via manifest and global upgrades via min version (#1372)
Support major version upgrade trigger via manifest. There is `off` `manual` and `full`. Manual is what you expect, and full will auto upgrade clusters below a certain threshold.
2021-02-25 11:42:43 +01:00
Felix Kunde ca968ca150
Fix empty capabilities (#1380)
* helm chart remove 1.6.0 archive from 1.6.0 archive
* empty pod capabilities should be nil
2021-02-22 17:27:32 +01:00
Felix Kunde 648d663dbb
bring back 1.6.0 charts with fixes (#1376)
* bring back 1.6.0 charts with fixes

* update helm indexl yaml for UI chart
2021-02-19 12:22:55 +01:00
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
2021-02-18 13:38:27 +01:00