Felix Kunde
fd8ddb2bfb
Merge branch 'master' into fix/break-rolling-update-deadlock-on-non-running-pods
2026-04-24 11:09:39 +02:00
Andreas Mårtensson
27c969d14b
Set securityContext for backup container ( #2117 )
...
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2026-04-24 11:06:30 +02:00
annielzy
f8608ff0bc
Merge branch 'master' into fix/break-rolling-update-deadlock-on-non-running-pods
2026-04-23 10:20:12 -07:00
Sai Asish Y
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 AHARONIAN
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
Felix Kunde
63485e807d
Merge branch 'master' into fix/break-rolling-update-deadlock-on-non-running-pods
2026-04-23 15:45:47 +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
DDD
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
Felix Kunde
959f705eea
Merge branch 'master' into fix/break-rolling-update-deadlock-on-non-running-pods
2026-03-24 14:26:17 +01:00
Ida Novindasari
421bd6d664
fix: invalid switchover scheduling with default maintenance windows ( #3058 )
2026-03-24 12:57:15 +01:00
Annie Li
c1c8760a3d
pod without status
2026-03-06 13:43:18 -08:00
Annie Li
27196f40f8
revert pod_test
2026-03-06 13:19:50 -08:00
Annie Li
d47b666870
remove TestSyncStatefulSetNonRunningPodsDoNotBlockRecreatio
2026-03-06 13:16:44 -08:00
Annie Li
c5142ee5ec
add fix to recreate non running pods in syncStatefulsets
2026-03-06 11:27:31 -08:00
Jorge Solorzano
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 Novindasari
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 Novindasari
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 Larsen
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 Larsen
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
Felix Kunde
1f4ee605ae
fix docker build for UI and bumped some outdated versions in docs and config ( #3017 )
...
* fix docker build for UI and bumped some outdated versions in docs and config
* update helm chart image again because of wrong format field
* switch to new registry ghcr.io for e2e test
* update e2e test runner Dockerfile
2025-12-18 12:12:53 +01:00
Felix Kunde
c4f10ceadc
bump to v1.15.1 ( #3011 )
...
* bump to v1.15.1
2025-12-16 19:25:12 +01:00
Ida Novindasari
a27727f8d0
[ui] internal pipeline fix to build ui image ( #3013 )
...
* fix ui pipeline
* adjust logical backup image tagging
2025-12-12 16:49:58 +01:00
Steven Berler
cd05682482
fix switchover schedule tests ( #2995 )
...
* fix switchover schedule tests
Previously the tests would fail depending on the local time zone and the
time of day the test was being run.
---------
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
Co-authored-by: Mikkel Oscar Lyderik Larsen <mikkeloscar@users.noreply.github.com>
2025-12-11 10:22:40 +01:00
Felix Kunde
5aa8f961ec
only trigger ghcr build on tag event ( #3010 )
2025-12-10 17:11:53 +01:00
dependabot[bot]
fe340cb429
Bump golang.org/x/oauth2 from 0.23.0 to 0.27.0 in /kubectl-pg ( #3008 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.23.0 to 0.27.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.23.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-version: 0.27.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 17:11:22 +01:00
dependabot[bot]
543acd5731
Bump werkzeug from 3.0.6 to 3.1.4 in /ui ( #3001 )
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 3.0.6 to 3.1.4.
- [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.0.6...3.1.4 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-version: 3.1.4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 17:08:01 +01:00
dependabot[bot]
f826f75769
Bump golang.org/x/crypto from 0.43.0 to 0.45.0 ( #2997 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.43.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.43.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 17:07:20 +01:00
Ida Novindasari
1b4ffb0875
Separate pipeline for internal/external build and support multi arch ( #2991 )
...
* separate pipeline for internal/external build and support multi arch
* remove distutils and use node:lts-alpine in both
* change base image arguments
* fix local naming and base image
* address feedback
---------
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2025-12-10 16:45:42 +01:00
dependabot[bot]
842c6eded3
Bump golang.org/x/crypto from 0.31.0 to 0.45.0 in /kubectl-pg ( #2996 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.31.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2025-12-10 15:34:42 +01:00
dependabot[bot]
88d6192064
Bump js-yaml from 4.1.0 to 4.1.1 in /ui/app ( #2989 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1 )
---
updated-dependencies:
- dependency-name: js-yaml
dependency-version: 4.1.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2025-12-10 15:31:10 +01:00
Felix Kunde
04ad66f701
stop retention user cleanup early again when DB connection attempt fails ( #2999 )
...
* stop retention user cleanup early again when DB connection attempt fails
* add unit test and new returned error from updateSecret
2025-12-10 10:01:07 +01:00
ovnozdrach
42bbead4c9
Fix Sidecar without image specification issue ( #2977 )
...
Co-authored-by: Oleg Nozdrachev <ovnozdrach@mts.ru>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2025-12-09 09:37:11 +01:00