Felix Kunde
ccaa24e1a2
resolve conflict with master
2021-02-25 12:13:15 +01:00
Felix Kunde
217f306650
Merge branch 'master' of github.com:zalando/postgres-operator
2021-02-25 12:04:54 +01:00
Felix Kunde
cfeb60dc6d
uncomment updating annotations of statefulset
2021-02-25 11:58:31 +01:00
Felix Kunde
6b161dd2c5
Merge branch 'master' into rolling-update-pod-annotation
2021-02-25 11:57:41 +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
7f2c68a82d
reflect code review feedback
2021-02-25 06:43:35 +01:00
Felix Kunde
e438ff5628
Merge branch 'master' of github.com:zalando/postgres-operator
2021-02-22 17:28:07 +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
29b025765a
helm chart remove 1.6.0 archive from 1.6.0 archive
2021-02-19 15:59:06 +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
georgebarbarosie
cee4bf82c7
small fix for postgresql CRD ( #1368 )
2021-02-18 08:21:26 +01:00
Felix Kunde
75e91c0dec
resolve conflict in e2e tests
2021-02-16 15:48:25 +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
dfda70cf24
add final flag check in e2e test
2021-02-12 10:00:11 +01:00
Felix Kunde
329ef995cb
Merge branch 'master' into rolling-update-pod-annotation
2021-02-12 09:59:35 +01:00
Felix Kunde
4d2b51de41
upgrade pip to latest version to avoid broken deps ( #1357 )
2021-02-10 11:24:24 +01:00
Felix Kunde
1974cfc48d
just use assertTrue
2021-02-09 18:44:33 +01:00
Felix Kunde
3681ecada5
fix selector in get_cluster_pod
2021-02-09 18:04:37 +01:00
Felix Kunde
0a35da0a51
add one more e2e test case
2021-02-09 17:32:53 +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
Felix Kunde
2e57d553f9
add wait_for_pod_failover for e2e test
2021-02-05 09:49:21 +01:00
Felix Kunde
b892dc49b8
add e2e test and pas switchover targets to recreatePods
2021-02-05 09:00:13 +01:00
Felix Kunde
f69a1e0245
do not take address of iterator if you use it later
2021-02-05 09:00:13 +01:00
Felix Kunde
b0f394ff53
some more refactoring
2021-02-05 09:00:13 +01:00
Felix Kunde
1f1fcd8657
pass only pods to recreatePods function
2021-02-05 09:00:13 +01:00
Felix Kunde
f2ce6b9a22
rename patch method and fix reading flag on sync
2021-02-05 09:00:13 +01:00
Felix Kunde
965d4423f1
remove some comments and codelines
2021-02-05 09:00:13 +01:00
Felix Kunde
4421724848
steer rolling update via pod annotation
2021-02-05 09:00:13 +01:00
Felix Kunde
d150a477f0
add TODOs for moving rooling update label on pods
2021-02-05 09:00:13 +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 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 Mussler
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 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 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