4968735b73 
								
							 
						 
						
							
							
								
								Update database.go  
							
							
							
						 
						
							2022-12-29 17:35:17 +01:00  
				
					
						
							
							
								 
						
							
								609517237e 
								
							 
						 
						
							
							
								
								Update database.go  
							
							... 
							
							
							
							Wrong character 
							
						 
						
							2022-12-29 17:06:50 +01:00  
				
					
						
							
							
								 
						
							
								878665a010 
								
							 
						 
						
							
							
								
								Enable logging of all operator statements  
							
							
							
						 
						
							2022-12-29 17:04:40 +01:00  
				
					
						
							
							
								 
						
							
								c1657ec484 
								
							 
						 
						
							
							
								
								stream resource name must be lower case ( #2149 )  
							
							
							
						 
						
							2022-12-29 16:55:18 +01:00  
				
					
						
							
							
								 
						
							
								e80cccb93b 
								
							 
						 
						
							
							
								
								use random short name for stream CRDs ( #2137 )  
							
							... 
							
							
							
							* use random short name for stream CRDs 
							
						 
						
							2022-12-27 16:52:01 +01:00  
				
					
						
							
							
								 
						
							
								3e148ea57e 
								
							 
						 
						
							
							
								
								enable operator support for pg15 and drop support for 9.5 and 9.6 ( #2140 )  
							
							... 
							
							
							
							* enable operator support for pg15 and drop support for 9.5 and 9.6
* not offer 15 in UI before spilo-15 is available 
							
						 
						
							2022-12-15 12:17:27 +01:00  
				
					
						
							
							
								 
						
							
								0bef3b325f 
								
							 
						 
						
							
							
								
								fix migration of single-node clusters ( #2134 )  
							
							
							
						 
						
							2022-12-09 12:42:10 +01:00  
				
					
						
							
							
								 
						
							
								4d585250db 
								
							 
						 
						
							
							
								
								Add Patroni failsafe_mode parameter ( #2076 )  
							
							... 
							
							
							
							This commit adds support of a not-yet-released Patroni feature that allows postgres to run as primary in case of a failed leader lock update.
* Add Patroni 'failsafe_mode' local parameter (enable for a single PG cluster)
* Allow configuring Patroni 'failsafe_mode' parameter globally 
							
						 
						
							2022-12-02 13:33:02 +01:00  
				
					
						
							
							
								 
						
							
								1d44dd4694 
								
							 
						 
						
							
							
								
								delete secret resource from map ( #2123 )  
							
							
							
						 
						
							2022-12-02 10:09:19 +01:00  
				
					
						
							
							
								 
						
							
								528bb81a78 
								
							 
						 
						
							
							
								
								first sync wal_level then publications ( #2109 )  
							
							
							
						 
						
							2022-11-28 16:37:34 +01:00  
				
					
						
							
							
								 
						
							
								529cdfc0b6 
								
							 
						 
						
							
							
								
								skip slots where publication sync failed ( #2091 )  
							
							
							
						 
						
							2022-10-25 14:51:29 +02:00  
				
					
						
							
							
								 
						
							
								70f3ee8e36 
								
							 
						 
						
							
							
								
								skip db sync on failed initUsers during UPDATE ( #2083 )  
							
							... 
							
							
							
							* skip db sync on failed initUsers during UPDATE
* provide unit test for teams API being unavailable
* add test for 404 case 
							
						 
						
							2022-10-21 17:50:14 +02:00  
				
					
						
							
							
								 
						
							
								d55e74e1e7 
								
							 
						 
						
							
							
								
								create publication before creating logical replication slot ( #2085 )  
							
							
							
						 
						
							2022-10-21 14:31:13 +02:00  
				
					
						
							
							
								 
						
							
								640581fb46 
								
							 
						 
						
							
							
								
								Fix the Operator rolling update statefulsets unnecessary whien Kube API down ( #2031 ) ( #2064 )  
							
							
							
						 
						
							2022-10-18 10:55:25 +02:00  
				
					
						
							
							
								 
						
							
								acb3ffd702 
								
							 
						 
						
							
							
								
								Fix upgrade command ( #2075 )  
							
							... 
							
							
							
							Upgrade run using postgres user used to be broken by an invalid option.
Move -o pipefail directly to upgradeCommand.
+ minor formatting corrections 
							
						 
						
							2022-10-17 17:36:02 +02:00  
				
					
						
							
							
								 
						
							
								a85023ff10 
								
							 
						 
						
							
							
								
								Cluster env variables should be reflected for StatefulSet update ( #2045 )  
							
							... 
							
							
							
							* Cluster env variables should be reflected for StatefulSet update
* Add unit test for comparing StatefulSet's 
							
						 
						
							2022-10-13 13:54:58 +02:00  
				
					
						
							
							
								 
						
							
								4786f53f03 
								
							 
						 
						
							
							
								
								Fix password rotation ( #2043 )  
							
							... 
							
							
							
							* fix password rotation
* test connection with rotation user in e2e test + minor changes 
							
						 
						
							2022-10-13 11:33:26 +02:00  
				
					
						
							
							
								 
						
							
								ce8b009c66 
								
							 
						 
						
							
							
								
								fix team member deprecation ( #2072 )  
							
							
							
						 
						
							2022-10-11 18:02:41 +02:00  
				
					
						
							
							
								 
						
							
								84fe38a069 
								
							 
						 
						
							
							
								
								switch to batch API v1 for Jobs ( #2066 )  
							
							
							
						 
						
							2022-10-07 11:27:58 +02:00  
				
					
						
							
							
								 
						
							
								2aa52094db 
								
							 
						 
						
							
							
								
								switch to policy API v1 for PDBs ( #2008 )  
							
							... 
							
							
							
							* switch to policy API v1 for PDBs
* update e2e test dependencies
* use kind 0.14.0
* bump K8s client in e2e docker image
* bump e2e tests-runner 
							
						 
						
							2022-10-06 09:43:17 +02:00  
				
					
						
							
							
								 
						
							
								a119772efb 
								
							 
						 
						
							
							
								
								add toggle to turn off readiness probes ( #2004 )  
							
							... 
							
							
							
							* add toggle to turn off readiness probes
* include PodManagementPolicy and ReadinessProbe in stateful set comparison
* add URI scheme to generated readiness probe 
							
						 
						
							2022-10-05 18:25:24 +02:00  
				
					
						
							
							
								 
						
							
								b48034d762 
								
							 
						 
						
							
							
								
								Fix major version upgrade return code ( #2056 )  
							
							... 
							
							
							
							Fix major version upgrade return code 
							
						 
						
							2022-09-21 15:25:24 +02:00  
				
					
						
							
							
								 
						
							
								e0c4603057 
								
							 
						 
						
							
							
								
								create streams only after postgres instances were restarted ( #2034 )  
							
							... 
							
							
							
							* create streams only after postgres instances were restarted
* checkAndSetGlobalPostgreSQLConfiguration returns if config has been patched
* restart can be pending even without a config patch 
							
						 
						
							2022-09-19 15:25:55 +02:00  
				
					
						
							
							
								 
						
							
								d209612b18 
								
							 
						 
						
							
							
								
								use correct keys in updateSecret ( #2029 )  
							
							
							
						 
						
							2022-09-01 10:58:42 +02:00  
				
					
						
							
							
								 
						
							
								4c07494ac7 
								
							 
						 
						
							
							
								
								deprecate ClusterName field of Postgresql type and remove team from REST endpoints ( #2015 )  
							
							... 
							
							
							
							* deprecate ClusterName field of Postgresql type
* remove for teamId from operator API endpints /status /logs /history
* update dns_format_string and yaml template in UI 
							
						 
						
							2022-08-29 15:00:25 +02:00  
				
					
						
							
							
								 
						
							
								89375186b3 
								
							 
						 
						
							
							
								
								use old LB DNS format when teamId prefix is disabled ( #2011 )  
							
							... 
							
							
							
							* use old LB DNS format when teamId prefix is disabled
* support both old and new format in external-dns
* switch dns template from team to namespace 
							
						 
						
							2022-08-25 18:29:54 +02:00  
				
					
						
							
							
								 
						
							
								21d00e2ed7 
								
							 
						 
						
							
							
								
								rework map selection in updateSecret ( #2010 )  
							
							
							
						 
						
							2022-08-24 17:33:39 +02:00  
				
					
						
							
							
								 
						
							
								ef324494a0 
								
							 
						 
						
							
							
								
								fetch pooler and fes_user system user only when corresponding features are used ( #2009 )  
							
							... 
							
							
							
							* fetch pooler and fes_user system user only when corresponding features are used
* cover error case in unit test
* use string formatting instead of + 
							
						 
						
							2022-08-24 16:28:49 +02:00  
				
					
						
							
							
								 
						
							
								3bfd63cbe6 
								
							 
						 
						
							
							
								
								Make teamId in cluster name optional ( #2001 )  
							
							... 
							
							
							
							* making teamId in clustername optional
* move teamId check to addCluster function 
							
						 
						
							2022-08-24 10:12:50 +02:00  
				
					
						
							
							
								 
						
							
								b91b69c736 
								
							 
						 
						
							
							
								
								BugFix: Switchover (during a Node drain) fails randomly in synchronous mode ( #1984 )  
							
							... 
							
							
							
							* Use getSwitchoverCandidate instead of masterCandidate when trying to migrating master pod to a replica
Ref: #1983 
* Remove unused masterCandidate (replaced by getSwitchoverCandidate)
Ref: #1983  
							
						 
						
							2022-08-19 15:14:53 +02:00  
				
					
						
							
							
								 
						
							
								b2642fa2fc 
								
							 
						 
						
							
							
								
								allow in place pw rotation of system users ( #1953 )  
							
							... 
							
							
							
							* allow in place pw rotation of system users
* block postgres user from rotation
* mark pooler pods for replacement
* adding podsGetter where pooler is synced in unit tests
* move rotation code in extra function 
							
						 
						
							2022-08-18 14:14:31 +02:00  
				
					
						
							
							
								 
						
							
								88a2931550 
								
							 
						 
						
							
							
								
								bump pooler image to use new alpine base image ( #1985 )  
							
							... 
							
							
							
							* bump pooler image to use new alpine base image
* use a safe default for PGHOST pooler env variable 
							
						 
						
							2022-08-08 17:36:43 +02:00  
				
					
						
							
							
								 
						
							
								b41daf4f76 
								
							 
						 
						
							
							
								
								Set maximum CPU and Memory requests on K8s ( #1959 )  
							
							... 
							
							
							
							* Set maximum CPU and Memory requests on K8s 
							
						 
						
							2022-07-28 14:18:27 +02:00  
				
					
						
							
							
								 
						
							
								5e4badd99c 
								
							 
						 
						
							
							
								
								annotation to bypass globally configured instance limits ( #1943 )  
							
							
							
						 
						
							2022-06-30 10:40:03 +02:00  
				
					
						
							
							
								 
						
							
								7d4da92872 
								
							 
						 
						
							
							
								
								bring back CLONE_WAL_BUCKET_SCOPE_PREFIX ( #1902 )  
							
							
							
						 
						
							2022-05-24 16:27:34 +02:00  
				
					
						
							
							
								 
						
							
								97be5ee1cb 
								
							 
						 
						
							
							
								
								use uint64 for replication lag from Patroni's member endpoint ( #1893 )  
							
							... 
							
							
							
							* use int64 for replication lag from Patroni's member endpoint 
							
						 
						
							2022-05-19 09:39:56 +02:00  
				
					
						
							
							
								 
						
							
								268a86a045 
								
							 
						 
						
							
							
								
								removing inner goroutine in cluster.Switchover ( #1876 )  
							
							... 
							
							
							
							* removing inner goroutine in cluster.Switchover and resolve race between processPodEvent and unregisterPodSubscriber
* unlock mutex after handling event, now with non-blocking default case 
							
						 
						
							2022-05-17 18:10:39 +02:00  
				
					
						
							
							
								 
						
							
								c6f2c68588 
								
							 
						 
						
							
							
								
								ignore case when checking for envVar existence but do not change it ( #1889 )  
							
							
							
						 
						
							2022-05-12 11:59:05 +02:00  
				
					
						
							
							
								 
						
							
								a77d5df158 
								
							 
						 
						
							
							
								
								reverse membership for additional owner roles ( #1862 )  
							
							... 
							
							
							
							* reverse membership for additional owner roles
* remove type RoleOriginSpilo
* use e2e images with cron_admin inside
* let operator resolve reversed membership
* make additional owner roles part of the sync user strategy
* add more context in the docs about additional_owner_roles 
							
						 
						
							2022-04-28 11:15:40 +02:00  
				
					
						
							
							
								 
						
							
								8b6664f1a2 
								
							 
						 
						
							
							
								
								fix container ports ( #1864 )  
							
							
							
						 
						
							2022-04-21 18:52:53 +02:00  
				
					
						
							
							
								 
						
							
								532772c5cd 
								
							 
						 
						
							
							
								
								do not call EBS api when there are no pvs ( #1851 )  
							
							... 
							
							
							
							* do not call EBS api when there are no pvs
* no extra aws api call in executeEBSMigration, operate on fetched cluster.EBSVolumes 
							
						 
						
							2022-04-20 12:12:02 +02:00  
				
					
						
							
							
								 
						
							
								eecd13169c 
								
							 
						 
						
							
							
								
								refactor spilo env var generation ( #1848 )  
							
							... 
							
							
							
							* refactor spilo env generation
* enhance docs on env vars
* add unit test for appendEnvVar 
							
						 
						
							2022-04-14 11:47:33 +02:00  
				
					
						
							
							
								 
						
							
								483bf624ee 
								
							 
						 
						
							
							
								
								add test team member ( #1842 )  
							
							... 
							
							
							
							* return err if teams API fails with StatusCode other than 404
* add unit test for 404 at team members
Co-authored-by: Jociele Padilha <jociele.padilha@zalando.de>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de> 
							
						 
						
							2022-04-14 10:02:54 +02:00  
				
					
						
							
							
								 
						
							
								9bcb25ac7e 
								
							 
						 
						
							
							
								
								Ability to set pod environment variables on cluster resource ( #1794 )  
							
							... 
							
							
							
							* Ability to set pod environment variables on cluster resource
Co-authored-by: Felix Kunde <felix-kunde@gmx.de> 
							
						 
						
							2022-04-11 10:16:35 +02:00  
				
					
						
							
							
								 
						
							
								0dc370f15d 
								
							 
						 
						
							
							
								
								standby cluster that streams from a remote primary ( #1830 )  
							
							... 
							
							
							
							* add the possibility to create a standby cluster that streams from a remote primary
* extending unit tests
* add more docs and e2e test
Co-authored-by: machine424 <ayoubmrini424@gmail.com> 
							
						 
						
							2022-04-04 15:41:11 +02:00  
				
					
						
							
							
								 
						
							
								2dfb11ad4c 
								
							 
						 
						
							
							
								
								update team message ( #1818 )  
							
							... 
							
							
							
							* return only warning if team can't be found
Co-authored-by: Jociele Padilha <jociele.padilha@zalando.de>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de> 
							
						 
						
							2022-04-04 13:08:03 +02:00  
				
					
						
							
							
								 
						
							
								f5cca1a093 
								
							 
						 
						
							
							
								
								major version upgrade for rootless and ocp : solving  #1689  ( #1770 )  
							
							... 
							
							
							
							* major version upgrade for rootless and ocp : solving #1689 
Co-authored-by: Felix Kunde <felix-kunde@gmx.de> 
							
						 
						
							2022-03-31 14:53:02 +02:00  
				
					
						
							
							
								 
						
							
								2333d531d3 
								
							 
						 
						
							
							
								
								Fix deletion of event streams resources ( #1831 )  
							
							... 
							
							
							
							* fix deletion of event streams
* create cluster field to store stream application ids 
							
						 
						
							2022-03-31 11:48:37 +02:00  
				
					
						
							
							
								 
						
							
								60e0685c32 
								
							 
						 
						
							
							
								
								define readinessProbe on statefulSet ( #1825 )  
							
							... 
							
							
							
							* define readinessProbe on statefulSet 
* do not error out on deleting Patroni cluster objects
* change delete order for patroni objects 
							
						 
						
							2022-03-30 18:19:34 +02:00  
				
					
						
							
							
								 
						
							
								30f2ba6525 
								
							 
						 
						
							
							
								
								do not create endpoints when use config maps ( #1760 )  
							
							... 
							
							
							
							* do not create endpoints when use config maps
* delete cluster objects with 'leader' suffix
Co-authored-by: Евграфов Александр Александрович <aevgrafov@cmx.ru> 
							
						 
						
							2022-03-28 10:09:26 +02:00