8db44d6f18 
								
							 
						 
						
							
							
								
								Avoid unnecessary marshaling.  
							
							
							
						 
						
							2017-05-12 11:41:30 +02:00  
				
					
						
							
							
								 
						
							
								b69b6b26e5 
								
							 
						 
						
							
							
								
								git fmt run  
							
							
							
						 
						
							2017-05-12 11:41:30 +02:00  
				
					
						
							
							
								 
						
							
								310c119dfa 
								
							 
						 
						
							
							
								
								Display config on operator start up  
							
							
							
						 
						
							2017-05-12 11:41:30 +02:00  
				
					
						
							
							
								 
						
							
								a97dfb07de 
								
							 
						 
						
							
							
								
								fix struct tag delimiter  
							
							
							
						 
						
							2017-05-12 11:41:30 +02:00  
				
					
						
							
							
								 
						
							
								ba8e8d1857 
								
							 
						 
						
							
							
								
								Avoid showing objects alongside diffs.  
							
							... 
							
							
							
							That reduces the amount of clutter in the debug output.
Run go fmt on the sources. 
							
						 
						
							2017-05-12 11:41:30 +02:00  
				
					
						
							
							
								 
						
							
								3a4c6268be 
								
							 
						 
						
							
							
								
								Increase log verbosity, namely for object updates.  
							
							... 
							
							
							
							- add a new environment variable for triggering debug log level
- show both new, old object and diff during syncs and updates
- use pretty package to pretty-print go structures
- 
							
						 
						
							2017-05-12 11:41:29 +02:00  
				
					
						
							
							
								 
						
							
								19dfa0c2b0 
								
							 
						 
						
							
							
								
								Run pod in a privileged securityContext.  
							
							... 
							
							
							
							This is necessary in order to access devices from the pod.
The target is to be able to run resize2fs on a pod itself. 
							
						 
						
							2017-05-12 11:41:29 +02:00  
				
					
						
							
							
								 
						
							
								c2d2a67ad5 
								
							 
						 
						
							
							
								
								Get config from environment variables;  
							
							... 
							
							
							
							ignore pg major version change;
get rid of resources package; 
							
						 
						
							2017-05-12 11:41:29 +02:00  
				
					
						
							
							
								 
						
							
								79a6726d4d 
								
							 
						 
						
							
							
								
								Increase logging verbosity, restructure code  
							
							
							
						 
						
							2017-05-12 11:41:28 +02:00  
				
					
						
							
							
								 
						
							
								3aaa05fb96 
								
							 
						 
						
							
							
								
								Use encrypted passwords while creating robot users  
							
							
							
						 
						
							2017-05-12 11:41:28 +02:00  
				
					
						
							
							
								 
						
							
								48ba6adf8a 
								
							 
						 
						
							
							
								
								Avoid calling Team API with an expired token.  
							
							... 
							
							
							
							Previously, the controller fetched the Oauth token once at start, so eventually the token would expire and the operator could not create new users. This commit makes the operator fetch the token before each call to the Teams API. 
							
						 
						
							2017-05-12 11:41:28 +02:00  
				
					
						
							
							
								 
						
							
								b6e6308bdc 
								
							 
						 
						
							
							
								
								wait for the pods from the previous rolling update  
							
							
							
						 
						
							2017-05-12 11:41:28 +02:00  
				
					
						
							
							
								 
						
							
								bbdc2f52a9 
								
							 
						 
						
							
							
								
								fix resource load and list  
							
							
							
						 
						
							2017-05-12 11:41:28 +02:00  
				
					
						
							
							
								 
						
							
								6f7399b36f 
								
							 
						 
						
							
							
								
								Sync clusters states  
							
							... 
							
							
							
							* move statefulset creation from cluster spec to the separate function
* sync cluster state with desired state;
* move out from arrays for cluster resources;
* recreate pods instead of deleting them in case of statefulset change
* check for master while creating cluster/updating pods
* simplify retryutil
* list pvc while listing resources
* name kubernetes resources with capital letter
* do rolling update in case of env variables change 
							
						 
						
							2017-05-12 11:41:27 +02:00  
				
					
						
							
							
								 
						
							
								1377724b2e 
								
							 
						 
						
							
							
								
								Fix a compliation error.  
							
							
							
						 
						
							2017-05-12 11:41:27 +02:00  
				
					
						
							
							
								 
						
							
								31d7426327 
								
							 
						 
						
							
							
								
								ClusterTeamName -> ClusterName. Add a TODO item.  
							
							
							
						 
						
							2017-05-12 11:41:27 +02:00  
				
					
						
							
							
								 
						
							
								814f75f7c1 
								
							 
						 
						
							
							
								
								Formatting changes  
							
							
							
						 
						
							2017-05-12 11:41:27 +02:00  
				
					
						
							
							
								 
						
							
								7529b84b93 
								
							 
						 
						
							
							
								
								Move all operator-related constants together.  
							
							
							
						 
						
							2017-05-12 11:41:27 +02:00  
				
					
						
							
							
								 
						
							
								55dbacdfa6 
								
							 
						 
						
							
							
								
								Assign DNS name to the cluster.  
							
							... 
							
							
							
							DNS name is generated from the team name and cluster name.
Use "zalando.org/dnsname" service annotation that makes 'mate' service assign a CNAME to the load balancer name. 
							
						 
						
							2017-05-12 11:41:27 +02:00  
				
					
						
							
							
								 
						
							
								45fcb2adc9 
								
							 
						 
						
							
							
								
								Assign SUPERUSER to human users by default.  
							
							
							
						 
						
							2017-05-12 11:41:27 +02:00  
				
					
						
							
							
								 
						
							
								34ac47aed9 
								
							 
						 
						
							
							
								
								Expose container 8080 port  
							
							
							
						 
						
							2017-05-12 11:41:26 +02:00  
				
					
						
							
							
								 
						
							
								486c8ecb07 
								
							 
						 
						
							
							
								
								use neutral name for set cluster status function  
							
							
							
						 
						
							2017-05-12 11:41:26 +02:00  
				
					
						
							
							
								 
						
							
								1c6e7ac2e7 
								
							 
						 
						
							
							
								
								loadBalancerSourceRanges update  
							
							
							
						 
						
							2017-05-12 11:41:26 +02:00  
				
					
						
							
							
								 
						
							
								fc127069ab 
								
							 
						 
						
							
							
								
								remove unnecessary ControllerNamespace  
							
							
							
						 
						
							2017-05-12 11:41:26 +02:00  
				
					
						
							
							
								 
						
							
								416dace289 
								
							 
						 
						
							
							
								
								get rid of arrays in the kuberesources;  
							
							... 
							
							
							
							use shorter form of checking for errors 
							
						 
						
							2017-05-12 11:41:26 +02:00  
				
					
						
							
							
								 
						
							
								abd313f2d9 
								
							 
						 
						
							
							
								
								Fix a missing colon.  
							
							
							
						 
						
							2017-05-12 11:41:26 +02:00  
				
					
						
							
							
								 
						
							
								f65fab00dd 
								
							 
						 
						
							
							
								
								Fix a typo  
							
							
							
						 
						
							2017-05-12 11:41:26 +02:00  
				
					
						
							
							
								 
						
							
								033c28f03a 
								
							 
						 
						
							
							
								
								Delete persistent volumes on deletion of the cluster.  
							
							
							
						 
						
							2017-05-12 11:41:26 +02:00  
				
					
						
							
							
								 
						
							
								caa0eab19b 
								
							 
						 
						
							
							
								
								Move statefulset creation from cluster spec to the separate function  
							
							
							
						 
						
							2017-05-12 11:41:25 +02:00  
				
					
						
							
							
								 
						
							
								776ed3fa0f 
								
							 
						 
						
							
							
								
								Simplify getting configuration.  
							
							
							
						 
						
							2017-05-12 11:41:25 +02:00  
				
					
						
							
							
								 
						
							
								021eedb226 
								
							 
						 
						
							
							
								
								Fix resource already exists log messages  
							
							
							
						 
						
							2017-05-12 11:41:25 +02:00  
				
					
						
							
							
								 
						
							
								a2e78ac2ec 
								
							 
						 
						
							
							
								
								Feature/persistent volumes  
							
							
							
						 
						
							2017-05-12 11:41:25 +02:00  
				
					
						
							
							
								 
						
							
								ae77fa15e8 
								
							 
						 
						
							
							
								
								Pod Rolling update  
							
							... 
							
							
							
							introduce Pod events channel;
add parsing of the MaintenanceWindows section;
skip deleting Etcd key on cluster delete;
use external etcd host;
watch for tpr/pods in the namespace of the operator pod only; 
							
						 
						
							2017-05-12 11:41:25 +02:00  
				
					
						
							
							
								 
						
							
								dfde075c66 
								
							 
						 
						
							
							
								
								Use TPR object namespace while creating its objects  
							
							
							
						 
						
							2017-05-12 11:37:09 +02:00  
				
					
						
							
							
								 
						
							
								6e2d64bd50 
								
							 
						 
						
							
							
								
								Create human users from teams api  
							
							
							
						 
						
							2017-05-12 11:37:09 +02:00  
				
					
						
							
							
								 
						
							
								58506634c4 
								
							 
						 
						
							
							
								
								Create pg users  
							
							
							
						 
						
							2017-05-12 11:37:09 +02:00  
				
					
						
							
							
								 
						
							
								7e4d0410c2 
								
							 
						 
						
							
							
								
								Use one secret per user  
							
							
							
						 
						
							2017-05-12 11:37:09 +02:00  
				
					
						
							
							
								 
						
							
								abb1173035 
								
							 
						 
						
							
							
								
								Code refactor  
							
							
							
						 
						
							2017-05-12 11:37:09 +02:00  
				
					
						
							
							
								 
						
							
								75e6bfa55c 
								
							 
						 
						
							
							
								
								makefile improvements  
							
							
							
						 
						
							2017-05-12 11:37:07 +02:00  
				
					
						
							
							
								 
						
							
								e96f8a80ee 
								
							 
						 
						
							
							
								
								Option to run the operator out of cluster.  
							
							
							
						 
						
							2017-05-08 12:10:27 +02:00  
				
					
						
							
							
								 
						
							
								b3a9516bae 
								
							 
						 
						
							
							
								
								Add a missing file.  
							
							
							
						 
						
							2017-05-08 12:10:26 +02:00  
				
					
						
							
							
								 
						
							
								e5e0e3a148 
								
							 
						 
						
							
							
								
								Use camelCase.  
							
							
							
						 
						
							2017-05-08 12:10:26 +02:00  
				
					
						
							
							
								 
						
							
								38bc9da25a 
								
							 
						 
						
							
							
								
								WIP: allow operator to run both in- and out- of cluster.  
							
							
							
						 
						
							2017-05-08 12:10:26 +02:00  
				
					
						
							
							
								 
						
							
								5b5a64e55d 
								
							 
						 
						
							
							
								
								Check if etcd service has its port exposed  
							
							
							
						 
						
							2017-05-08 12:10:26 +02:00  
				
					
						
							
							
								 
						
							
								d5a7683a38 
								
							 
						 
						
							
							
								
								some refactoring  
							
							
							
						 
						
							2017-05-08 12:10:26 +02:00  
				
					
						
							
							
								 
						
							
								256ff37c19 
								
							 
						 
						
							
							
								
								refactor file tree structure  
							
							
							
						 
						
							2017-05-08 12:10:25 +02:00