revert unrelated changes
This commit is contained in:
parent
8c950cfcbf
commit
af4e8e71ae
|
|
@ -289,9 +289,9 @@ configuration they are grouped under the `kubernetes` key.
|
||||||
|
|
||||||
* **ignored_annotations**
|
* **ignored_annotations**
|
||||||
Some K8s tools inject and update annotations out of the Postgres Operator
|
Some K8s tools inject and update annotations out of the Postgres Operator
|
||||||
control. This can cause rolling updates on each sync cycle of clusters.
|
control. This can cause rolling updates on each cluster sync cycle. With
|
||||||
With this option you can sepecify an array of annotations keys that should
|
this option you can specify an array of annotation keys that should be
|
||||||
be ignored when comparing K8s resources. The default is empty.
|
ignored when comparing K8s resources on sync. The default is empty.
|
||||||
|
|
||||||
* **watched_namespace**
|
* **watched_namespace**
|
||||||
The operator watches for Postgres objects in the given namespace. If not
|
The operator watches for Postgres objects in the given namespace. If not
|
||||||
|
|
|
||||||
|
|
@ -204,7 +204,7 @@ class EndToEndTestCase(unittest.TestCase):
|
||||||
}
|
}
|
||||||
|
|
||||||
# get node and replica (expected target of new master)
|
# get node and replica (expected target of new master)
|
||||||
master_nodes, replica_nodes = k8s.get_pg_nodes(cluster_label)
|
_, replica_nodes = k8s.get_pg_nodes(cluster_label)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
k8s.update_config(patch_capabilities)
|
k8s.update_config(patch_capabilities)
|
||||||
|
|
|
||||||
|
|
@ -186,7 +186,6 @@ func (c *Controller) modifyConfigFromEnvironment() {
|
||||||
if c.config.NoTeamsAPI {
|
if c.config.NoTeamsAPI {
|
||||||
c.opConfig.EnableTeamsAPI = false
|
c.opConfig.EnableTeamsAPI = false
|
||||||
}
|
}
|
||||||
|
|
||||||
scalyrAPIKey := os.Getenv("SCALYR_API_KEY")
|
scalyrAPIKey := os.Getenv("SCALYR_API_KEY")
|
||||||
if scalyrAPIKey != "" {
|
if scalyrAPIKey != "" {
|
||||||
c.opConfig.ScalyrAPIKey = scalyrAPIKey
|
c.opConfig.ScalyrAPIKey = scalyrAPIKey
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue