Commit Graph
1497 Commits
Author SHA1 Message Date
Felix Kunde 30a81826de resolve conflicts 2026-04-24 07:44:57 +02:00
Felix Kunde f8cc54a83e resolve conflicts 2026-04-24 07:44:09 +02:00
Felix Kunde 56b611b497 Merge branch 'master' into pooler-build 2026-04-24 07:39:24 +02:00
030c24f64e ui: honor AWS_ENDPOINT in read_basebackups S3 list/get (#3079)
read_stored_clusters and read_versions build their S3 clients with
endpoint_url=AWS_ENDPOINT, but read_basebackups used a bare
client('s3') for both the list_objects_v2 paginator and the per-key
get_object call. On MinIO / S3-compatible backends the list+get
requests go to the default AWS endpoint, so the Backups tab renders
cluster/version prefixes (picked up by the correctly-configured
read_stored_clusters) but then returns empty base backup details
(silently no hits against the real backend) (#3078).

Build s3_client once per call with endpoint_url=AWS_ENDPOINT and reuse
it for both the paginator and get_object. No behaviour change when
AWS_ENDPOINT is unset; boto3 defaults to the AWS endpoint either way.

Fixes #3078

Signed-off-by: SAY-5 <SAY-5@users.noreply.github.com>
Co-authored-by: SAY-5 <SAY-5@users.noreply.github.com>
Co-authored-by: Ida Novindasari <idanovinda@gmail.com>
2026-04-23 17:47:51 +02:00
Zadkiel AHARONIANandIda Novindasari 0ba2147d73 fix(logical-backup): wait for PG connectivity before running backup (#3069)
* fix(logical-backup): wait for PG connectivity before running backup

The backup script connects to the target PostgreSQL pod immediately
after resolving its IP via the Kubernetes API. When NetworkPolicy is
enforced via iptables, a newly-created pod's IP may not yet be present
in the destination node's ingress allow lists, causing cross-node
connections to be rejected until the next policy sync.

This adds a pg_isready retry loop before the dump starts, with
configurable retries and delay via LOGICAL_BACKUP_CONNECT_RETRIES
(default: 10) and LOGICAL_BACKUP_CONNECT_RETRY_DELAY (default: 2s).

Signed-off-by: Zadkiel AHARONIAN <zaharonian@ccl-consulting.fr>

* docs: document LOGICAL_BACKUP_CONNECT_RETRIES and RETRY_DELAY env vars

Document the new environment variables that control the pg_isready
retry loop added in the previous commit. These are passed via the
existing logical_backup_cronjob_environment_secret mechanism.

Signed-off-by: Zadkiel AHARONIAN <zaharonian@ccl-consulting.fr>

---------

Signed-off-by: Zadkiel AHARONIAN <zaharonian@ccl-consulting.fr>
Co-authored-by: Ida Novindasari <idanovinda@gmail.com>
2026-04-23 17:47:12 +02:00
dependabot[bot] 085a1a91e6 Bump werkzeug from 3.1.5 to 3.1.6 in /ui (#3076)
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-23 13:56:32 +02:00
Felix Kunde 4ab707d9dc fix e2e test and bump alpine version 2026-04-22 15:54:25 +02:00
Felix Kunde 09805a5173 debugging 2026-04-22 13:37:18 +02:00
Felix Kunde 1832f26097 copy ini file 2026-04-22 12:20:48 +02:00
Felix Kunde 92313515a6 remove obsolete copy from Dockerfile 2026-04-22 11:57:33 +02:00
Felix Kunde 78e48cf1bc introduce extra pooler secret for mounting auth_file 2026-04-22 11:53:56 +02:00
Felix Kunde 8c8ebd2304 pass infra roles to auth file via pooler entrypoint 2026-04-21 16:50:26 +02:00
Felix Kunde 4fa363750e use correct struct and env var 2026-04-21 16:04:51 +02:00
Felix Kunde 4857694002 pass infra role names to pooler pods 2026-04-21 15:37:29 +02:00
Felix Kunde 866a17f881 remove custom prefix option 2026-04-20 14:53:29 +02:00
Felix Kunde 1c5a4902ed add pooler step to ghcr workflow 2026-04-17 16:33:40 +02:00
Felix Kunde a9806080d2 remove symlink line for rst2man.py 2026-04-17 14:51:33 +02:00
Felix Kunde b63732d176 update pooler Dockerfile 2026-04-17 13:53:45 +02:00
Felix Kunde 88cfa12d8c remove mkdir pgbouncer command 2026-04-17 11:53:17 +02:00
Felix Kunde 20f9ce45f5 switch to known branch 2026-04-17 11:50:21 +02:00
Felix Kunde 5b4e927ee9 remove src from git clone command 2026-04-17 11:46:26 +02:00
Felix Kunde 5e3bf53d36 small fix in deliver.yaml 2026-04-17 11:38:53 +02:00
Felix Kunde e2e84b8d63 pull from docker hub not zalando registry 2026-04-17 11:36:03 +02:00
Felix Kunde 34c20b4cec ad pooler build step in delivery.yaml and bump pooler version 2026-04-17 11:22:51 +02:00
Felix Kunde 943da73c9e build multi-arch pooler image 2026-04-17 11:20:24 +02:00
DDDandFelix Kunde bbf9432413 Wasm target updates (#3068)
* Updates Needed for WASM Target
* switch to regular (instead of local) build flags
* update codegen to match other scripts

---------

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2026-04-17 08:59:08 +02:00
Ali Algohary 3af93363fd Fix JSON value of OPERATOR_UI_CONFIG (#3070)
Remove excess comma from OPERATOR_UI_CONFIG.
2026-04-16 18:23:01 +02:00
Felix Kunde 39cc09ccaa feature toggle for using maintenance windows (#3074)
* feature toggle for using maintenance windows
2026-04-16 17:13:18 +02:00
Polina Bungina e9478894a8 Avoid rotating pods for PGVERSION change outside of maintenance window (#3065)
* Avoid rotating pods for PGVERSION change outside of maintenance window
* Update docs
2026-04-07 12:16:55 +02:00
Ida Novindasari 421bd6d664 fix: invalid switchover scheduling with default maintenance windows (#3058) 2026-03-24 12:57:15 +01:00
Jorge SolorzanoandFelix Kunde d495825f4b Remove hardcoded VersionMap from majorversionupgrade (#3043)
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2026-03-02 11:13:10 +01:00
Felix Kunde 2a31c403d0 do not reset secrets of standby clusters (#3044)
* do not reset secrets of standby clusters
align error message with unit test
* check for other env vars, too
2026-02-26 17:27:47 +01:00
Ida Novindasari aefe9d8298 chore: add logging for major upgrade failure (#3046) 2026-02-19 09:57:20 +01:00
Mikkel Oscar Lyderik Larsen 9f9a3acb61 Checkin CRD to make go get work (#3047)
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2026-02-18 14:20:46 +01:00
Felix Kunde cffa0ee63c try to set infra roles also if one fails (#3045) 2026-02-18 08:38:17 +01:00
Ida NovindasariandPolina Bungina 6ce7c50cec Add support for pg18 and remove pg13 (#3035)
* Add support for pg18 and remove pg13
* Update general spilo image and use new rebuilt e2e spilo image

---------

Co-authored-by: Polina Bungina <polina.bungina@zalando.de>
2026-02-17 10:19:19 +01:00
Felix Kunde 4f130f9cce provide examples for maintenance_windows in manifest examples (#3040) 2026-02-02 16:35:01 +01:00
Felix Kunde b84c58c2a6 add support for global maintenance windows (#3038)
* add support for global maintenance windows
* fix schema validation and trim \ when unmarshalling maintenance window
2026-01-30 11:37:21 +01:00
Ida NovindasariandPolina Bungina 137f3e769d bugfix: fix image naming to use it correctly in e2e test (#3037)
* bugfix: fix image naming to use it in e2e test
* Fix embeded crd
* Add crd generation as dependency for docker

---------

Co-authored-by: Polina Bungina <polina.bungina@zalando.de>
2026-01-29 11:22:50 +01:00
Mikkel Oscar Lyderik LarsenandFelix Kunde f05150a81e Use UpdateStatus instead of patch (#3005)
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2026-01-27 10:44:30 +01:00
Polina Bungina b97de5d7f1 Standby section improvements (#3033)
- Allow standby_host to be specified together with wal_path
- Add standby_primary_slot_name
2026-01-19 13:54:27 +01:00
Mikkel Oscar Lyderik Larsen ad9ae4ec1b Fix linting issues in delivery.yaml (#3032)
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2026-01-16 17:56:06 +01:00
Mikkel Oscar Lyderik Larsen 32d6d0a7a7 Fix serving CRD at runtime (#3031)
* Fix serving CRD at runtime

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>

* Correctly string quote version enum

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>

---------

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2026-01-13 17:23:56 +01:00
Felix Kunde 97115d6e3d add annotation to ignore resources thresholds (#3030)
* add annotation to ignore resources thresholds
* add test case when annotation key is set but value is not true
2026-01-13 09:33:24 +01:00
Mikkel Oscar Lyderik Larsen a585b17796 Generate postgresql CRD from go structs (#3007)
* Sort postgresql.crd.yaml
* Generate postgresql CRD from go structs
* Expand sidecars, env and initcontainers
* Embed CRD to be submitted by the operator

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>

---------

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2026-01-12 17:33:28 +01:00
Mikkel Oscar Lyderik LarsenandFelix Kunde 0a44252534 Generate CRD for postgresteam resource (#3004)
* Sort postgresteam.crd.yaml

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>

* Generate CRD for postgresteam resource

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>

---------

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2026-01-10 19:39:08 +01:00
dependabot[bot] c331fd9434 Bump werkzeug from 3.1.4 to 3.1.5 in /ui (#3028)
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-10 09:22:44 +01:00
Mikkel Oscar Lyderik Larsen 55cc167fca Regenerate code for 2026 header (#3029)
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2026-01-09 15:38:16 +01:00
Mikkel Oscar Lyderik Larsen f6839f87b9 Modernize code generation (#3003)
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2026-01-09 14:22:10 +01:00
Ida Novindasari a06f8d796b Do not promote operator image when merge to master (#3018) 2025-12-19 09:53:38 +01:00