mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-01 13:48:01 +02:00
deprecate crd validation toggle and sync with manifests (#1781)
* deprecate crd validation toggle and sync with manifests * fix description in pg crd manifests * change CRD creation strategy * affinity matchExpression has values * lower repair period in e2e tests
This commit is contained in:
@@ -204,7 +204,8 @@ class EndToEndTestCase(unittest.TestCase):
|
||||
"enable_postgres_team_crd": "true",
|
||||
"enable_team_member_deprecation": "true",
|
||||
"role_deletion_suffix": "_delete_me",
|
||||
"resync_period": "15s"
|
||||
"resync_period": "15s",
|
||||
"repair_period": "10s",
|
||||
},
|
||||
}
|
||||
k8s.update_config(enable_postgres_team_crd)
|
||||
@@ -288,6 +289,7 @@ class EndToEndTestCase(unittest.TestCase):
|
||||
revert_resync = {
|
||||
"data": {
|
||||
"resync_period": "4m",
|
||||
"repair_period": "1m",
|
||||
},
|
||||
}
|
||||
k8s.update_config(revert_resync)
|
||||
@@ -1403,6 +1405,7 @@ class EndToEndTestCase(unittest.TestCase):
|
||||
"data": {
|
||||
"pod_label_wait_timeout": "2s",
|
||||
"resync_period": "30s",
|
||||
"repair_period": "10s",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1444,6 +1447,7 @@ class EndToEndTestCase(unittest.TestCase):
|
||||
"data": {
|
||||
"pod_label_wait_timeout": "10m",
|
||||
"resync_period": "4m",
|
||||
"repair_period": "2m",
|
||||
}
|
||||
}
|
||||
k8s.update_config(patch_resync_config, "revert resync interval and pod_label_wait_timeout")
|
||||
|
||||
Reference in New Issue
Block a user