Prepare repo migration (#3085)

This commit is contained in:
Polina Bungina
2024-06-17 09:04:43 +02:00
committed by GitHub
parent a5d095e316
commit 6e1f9f7a6e
11 changed files with 13 additions and 17 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015 Compose, Zalando SE
Copyright (c) 2024 Compose, Zalando SE, Patroni Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+1 -3
View File
@@ -27,9 +27,7 @@ Currently supported PostgreSQL versions: 9.3 to 16.
How Patroni Works
=================
Patroni originated as a fork of `Governor <https://github.com/compose/governor>`__, the project from Compose. It includes plenty of new features.
For an example of a Docker-based deployment with Patroni, see `Spilo <https://github.com/zalando/spilo>`__, currently in use at Zalando.
Patroni (formerly known as Zalando's Patroni) originated as a fork of `Governor <https://github.com/compose/governor>`__, the project from Compose. It includes plenty of new features.
For additional background info, see:
-2
View File
@@ -6,8 +6,6 @@ Introduction
Patroni is a template for high availability (HA) PostgreSQL solutions using Python. Patroni originated as a fork of `Governor <https://github.com/compose/governor>`__, the project from Compose. It includes plenty of new features.
For an example of a Docker-based deployment with Patroni, see `Spilo <https://github.com/zalando/spilo>`__, currently in use at Zalando.
For additional background info, see:
* `PostgreSQL HA with Kubernetes and Patroni <https://www.youtube.com/watch?v=iruaCgeG7qs>`__, talk by Josh Berkus at KubeCon 2016 (video)
+3 -3
View File
@@ -77,8 +77,8 @@ master_doc = 'index'
# General information about the project.
project = 'Patroni'
copyright = '2015 Compose, Zalando SE'
author = 'Zalando SE'
copyright = '2024 Compose, Zalando SE, Patroni Contributors'
author = 'Patroni Contributors'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -191,7 +191,7 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'Patroni.tex', 'Patroni Documentation',
'Zalando SE', 'manual'),
'Patroni Contributors', 'manual'),
]
+1 -1
View File
@@ -98,5 +98,5 @@ Examples
to deploy the Spilo image configured with Patroni running using Kubernetes.
- In order to run your database clusters at scale using Patroni and Spilo, take a look at the
`postgres-operator <https://github.com/zalando-incubator/postgres-operator>`_ project. It implements the operator pattern
`postgres-operator <https://github.com/zalando/postgres-operator>`_ project. It implements the operator pattern
to manage Spilo clusters.
+1 -1
View File
@@ -1065,7 +1065,7 @@ Run a SQL command as ``postgres`` user, and take password from ``libpq`` environ
.. code:: bash
$ PGPASSWORD=zalando patronictl -c postgres0.yml query batman -U postgres -c "SELECT now()"
$ PGPASSWORD=patroni patronictl -c postgres0.yml query batman -U postgres -c "SELECT now()"
now
2023-09-12 18:11:37.639500+00:00
+2 -2
View File
@@ -893,7 +893,7 @@ class PatroniPoolController(object):
.format(os.path.join(self.patroni_path, 'data', 'wal_archive_clone').replace('\\', '/'))
},
'authentication': {
'superuser': {'password': 'zalando1'},
'superuser': {'password': 'patroni1'},
'replication': {'password': 'rep-pass1'}
}
}
@@ -925,7 +925,7 @@ class PatroniPoolController(object):
},
'postgresql': {
'authentication': {
'superuser': {'password': 'zalando2'},
'superuser': {'password': 'patroni2'},
'replication': {'password': 'rep-pass2'}
}
}
+1 -1
View File
@@ -112,7 +112,7 @@ postgresql:
password: rep-pass
superuser:
username: postgres
password: zalando
password: patroni
rewind: # Has no effect on postgres 10 and lower
username: rewind_user
password: rewind_password
+1 -1
View File
@@ -105,7 +105,7 @@ postgresql:
password: rep-pass
superuser:
username: postgres
password: zalando
password: patroni
rewind: # Has no effect on postgres 10 and lower
username: rewind_user
password: rewind_password
+1 -1
View File
@@ -102,7 +102,7 @@ postgresql:
password: rep-pass
superuser:
username: postgres
password: zalando
password: patroni
rewind: # Has no effect on postgres 10 and lower
username: rewind_user
password: rewind_password
+1 -1
View File
@@ -73,7 +73,7 @@ class TestConfig(unittest.TestCase):
'PATRONI_RAFT_PARTNER_ADDRS': "'host1:1234','host2:1234'",
'PATRONI_foo_HOSTS': '[host1,host2', # Exception in parse_list
'PATRONI_SUPERUSER_USERNAME': 'postgres',
'PATRONI_SUPERUSER_PASSWORD': 'zalando',
'PATRONI_SUPERUSER_PASSWORD': 'patroni',
'PATRONI_REPLICATION_USERNAME': 'replicator',
'PATRONI_REPLICATION_PASSWORD': 'rep-pass',
'PATRONI_admin_PASSWORD': 'admin',