Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
368 commits
Select commit Hold shift + click to select a range
67247a1
Merge pull request #1214 from percona/K8SPG-624
hors Jul 21, 2025
3179fa8
K8SPG-611 when cr version is different than version, build init conta…
gkech Jul 23, 2025
e3dadcf
K8SPG-820 - Introduce a collation mismatch check (#1234)
valmiranogueira Jul 23, 2025
74b1d76
K8SPG-460: Mount hugepage volumes (#1230)
egegunes Jul 23, 2025
f810ad4
WIP: set affinity for `patroni-version-check` pod (#1229)
pooknull Jul 23, 2025
cb78b62
K8SPG-748 update statuses (#1220)
nmarukovich Jul 23, 2025
71fae20
K8SPG-724: fix extension reinstall (#1228)
pooknull Jul 23, 2025
33bfe69
K8SPG-718 patroni metrics to pmm (#1209)
gkech Jul 23, 2025
bf2b043
K8SPG-781 add original error (#1207)
nmarukovich Jul 23, 2025
c0048b8
K8SPG-768 skip log creation (#1217)
nmarukovich Jul 23, 2025
9703907
Disable pass check in tests (#1237)
jvpasinatto Jul 23, 2025
3d89e92
K8SPG-832: add `.spec.backups.pgbackrest.repoHost.sidecars` field (#1…
pooknull Jul 24, 2025
282ccc6
CLOUD-727: Bump aquasecurity/trivy-action from 0.31.0 to 0.32.0 (#1239)
dependabot[bot] Aug 2, 2025
7745c60
K8SPG-833: add `env` and `envFrom` fields (#1231)
pooknull Aug 5, 2025
356833f
CLOUD-727: Bump k8s.io/client-go from 0.33.2 to 0.33.3 (#1243)
dependabot[bot] Aug 5, 2025
cafc668
CLOUD-727: Bump sigs.k8s.io/yaml from 1.5.0 to 1.6.0 (#1242)
dependabot[bot] Aug 8, 2025
3fc048e
CLOUD-727: Bump k8s.io/component-base from 0.33.2 to 0.33.3 (#1245)
dependabot[bot] Aug 8, 2025
733d605
CLOUD-727: Bump github.com/golang-jwt/jwt/v5 from 5.2.2 to 5.3.0 (#1249)
dependabot[bot] Aug 8, 2025
fca613b
CLOUD-727: Bump google.golang.org/grpc from 1.73.0 to 1.74.2 (#1246)
dependabot[bot] Aug 8, 2025
e655c8b
CLOUD-727: Bump github.com/onsi/gomega from 1.37.0 to 1.38.0 (#1244)
dependabot[bot] Aug 8, 2025
2dbc123
CLOUD-727: Bump k8s.io/apiextensions-apiserver from 0.33.2 to 0.33.3 …
dependabot[bot] Aug 8, 2025
4f9621d
CLOUD-727: Bump github.com/aws/aws-sdk-go from 1.55.7 to 1.55.8 (#1240)
dependabot[bot] Aug 8, 2025
c2f3849
Update LICENSE.md (#1238)
EvaBnd Aug 8, 2025
1141943
CLOUD-727: Bump golang.org/x/tools from 0.35.0 to 0.36.0 (#1250)
dependabot[bot] Aug 14, 2025
e26eaeb
CLOUD-727: Bump github.com/go-openapi/errors from 0.22.1 to 0.22.2 (#…
dependabot[bot] Aug 14, 2025
a1be2f8
CLOUD-727: Bump k8s.io/apiextensions-apiserver from 0.33.3 to 0.33.4 …
dependabot[bot] Aug 25, 2025
b98693f
CLOUD-727: Bump github.com/onsi/ginkgo/v2 from 2.23.4 to 2.24.0 (#1257)
dependabot[bot] Aug 26, 2025
324ba16
CLOUD-727: Bump github.com/onsi/ginkgo/v2 from 2.23.4 to 2.25.1 (#1261)
dependabot[bot] Aug 27, 2025
00fae56
CLOUD-727: Bump go.nhat.io/grpcmock from 0.31.0 to 0.32.0 (#1263)
dependabot[bot] Sep 2, 2025
8919e0e
CLOUD-727: Bump actions/checkout from 4 to 5 (#1267)
dependabot[bot] Sep 2, 2025
bcd3177
CLOUD-727: Bump aquasecurity/trivy-action from 0.32.0 to 0.33.0 (#1266)
dependabot[bot] Sep 2, 2025
be6a192
K8SPG-719 check sts generation before and after rotating the pmm3 tok…
gkech Sep 22, 2025
0de607c
K8SPG-718: Fix timeout in monitoring-pmm3 (#1282)
egegunes Sep 24, 2025
f79ca4f
K8SPG-570 treat user-created secrets with operator default secret nam…
gkech Sep 24, 2025
2073269
CLOUD-727: Bump k8s.io/client-go from 0.33.4 to 0.34.1 (#1279)
dependabot[bot] Sep 25, 2025
c0a3088
K8SPG-757: fix version check (#1287)
pooknull Sep 25, 2025
ef9e210
K8SPG-748 fix statuses (#1285)
nmarukovich Sep 25, 2025
ab6c6dd
CLOUD-727: Bump google.golang.org/grpc from 1.74.2 to 1.75.1 (#1280)
dependabot[bot] Sep 25, 2025
e7e246b
CLOUD-727: Bump github.com/onsi/gomega from 1.38.0 to 1.38.2 (#1276)
dependabot[bot] Sep 25, 2025
0b8ba07
CLOUD-727: Bump go.opentelemetry.io/otel/trace from 1.37.0 to 1.38.0 …
dependabot[bot] Sep 25, 2025
eed74ec
CLOUD-727: Bump github.com/go-openapi/swag from 0.23.1 to 0.24.1 (#1273)
dependabot[bot] Sep 25, 2025
2eefb39
CLOUD-727: Bump github.com/grpc-ecosystem/grpc-gateway/v2 (#1262)
dependabot[bot] Sep 25, 2025
83ddc30
CLOUD-727 Bump golang 1251 (#1286)
gkech Sep 26, 2025
d44a926
K8SPG-611: official postgres image support (#1212)
pooknull Sep 29, 2025
7db5bac
use pmm3.4 for e2e tests (#1291)
gkech Sep 29, 2025
7e528ce
CLOUD-727: Bump golang.org/x/tools from 0.36.0 to 0.37.0 (#1295)
dependabot[bot] Sep 30, 2025
96e8f9e
CLOUD-727: Bump k8s.io/apiextensions-apiserver from 0.33.4 to 0.34.1 …
dependabot[bot] Sep 30, 2025
b6987be
CLOUD-727: Bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace…
dependabot[bot] Sep 30, 2025
8a0e093
CLOUD-727: Bump github.com/go-openapi/validate from 0.24.0 to 0.25.0 …
dependabot[bot] Sep 30, 2025
692301e
CLOUD-727: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otl…
dependabot[bot] Sep 30, 2025
8aa781a
CLOUD-727: Bump go.opentelemetry.io/contrib/instrumentation/net/http/…
dependabot[bot] Sep 30, 2025
1098ce4
CLOUD-727: Bump github.com/go-openapi/runtime from 0.28.0 to 0.29.0 (…
dependabot[bot] Sep 30, 2025
7f6a255
K8SPG-611 fix upgrade-consistency test (#1302)
hors Sep 30, 2025
9da4e54
CLOUD-727: Bump aquasecurity/trivy-action from 0.33.0 to 0.33.1 (#1304)
dependabot[bot] Oct 1, 2025
a679457
CLOUD-727: Bump actions/setup-go from 5 to 6 (#1305)
dependabot[bot] Oct 1, 2025
a1852ac
K8SPG-833: watch `envFrom` secrets (#1306)
pooknull Oct 3, 2025
be4001f
K8SPG-781 add TestGetLatestCommitTimestamp (#1309)
gkech Oct 3, 2025
a339766
CLOUD-727: Bump github.com/onsi/ginkgo/v2 from 2.25.1 to 2.26.0 (#1313)
dependabot[bot] Oct 7, 2025
18cdc80
CLOUD-727: Bump github.com/go-openapi/swag from 0.25.0 to 0.25.1 (#1311)
dependabot[bot] Oct 7, 2025
2ee0820
CLOUD-727: Bump github.com/grpc-ecosystem/grpc-gateway/v2 (#1312)
dependabot[bot] Oct 7, 2025
71d50b6
CLOUD-727: Bump google.golang.org/grpc from 1.75.1 to 1.76.0 (#1310)
dependabot[bot] Oct 7, 2025
3f7f7fc
K8SPG-872 handle certificate errors (#1314)
gkech Oct 9, 2025
32cc445
K8SPG-862 module github.com/percona/percona-postgresql-operator/v2 (#…
gkech Oct 9, 2025
c62817b
K8SPG-844: Don't modify archive_command if trackLatestRestorableTime …
egegunes Oct 10, 2025
347501a
K8SPG-624 use bool type for DisableSSL and ForcePathStyle
gkech Oct 10, 2025
9c217f3
fix e2e test values
gkech Oct 10, 2025
96cd16c
Fix initContainer images replacement in Makefile release
jvpasinatto Oct 10, 2025
942557e
Merge pull request #1316 from percona/K8SPG-624-use-bool
hors Oct 10, 2025
a2bfa28
Merge branch 'main' into fix-makefile-release
hors Oct 10, 2025
d77f34b
Merge pull request #1317 from percona/fix-makefile-release
hors Oct 10, 2025
8ed702c
Fix backup-enable-disable test
hors Oct 11, 2025
22754ce
bump k8s ver to 1.31
hors Oct 13, 2025
98d4b33
Merge branch 'main' into fix_test
hors Oct 13, 2025
ef33f3b
CLOUD-727: Bump golang.org/x/tools from 0.37.0 to 0.38.0
dependabot[bot] Oct 14, 2025
74508f2
Merge pull request #1318 from percona/fix_test
hors Oct 14, 2025
faadd37
Merge branch 'main' into dependabot/go_modules/golang.org/x/tools-0.38.0
hors Oct 14, 2025
854632c
Merge pull request #1322 from percona/dependabot/go_modules/golang.or…
hors Oct 14, 2025
dc610e2
K8SPG-844 backup enabled checks
gkech Oct 14, 2025
c1f2c15
K8SPG-647: remove major-upgrade from release tests
eleo007 Oct 14, 2025
149544a
Merge pull request #1325 from percona/K8SPG-647-remove-major
hors Oct 14, 2025
051e015
commit logs when debug mode one handling
gkech Oct 14, 2025
bc332a4
Merge branch 'main' into K8SPG-844-logs
gkech Oct 14, 2025
b08eb97
add an additional check for when the watch commit func is already in …
gkech Oct 15, 2025
5749c0f
dont stop watcher, gate the logic and continue
gkech Oct 16, 2025
541cb1f
K8SPG-879 patroni version check pod and container should align the re…
gkech Oct 16, 2025
5dd5638
enable feature gates for pod level resources
gkech Oct 16, 2025
da16d83
add comment for justification
gkech Oct 16, 2025
73bb7c7
Merge pull request #1324 from percona/K8SPG-844-logs
hors Oct 17, 2025
bab117a
Merge branch 'main' into K8SPG-879
hors Oct 17, 2025
0a61f74
Merge pull request #1326 from percona/K8SPG-879
hors Oct 17, 2025
5a83d01
K8SPG-869 minimum repos should be required only when backups are enabled
gkech Oct 17, 2025
2694862
fixes on the validation rule + unit tests
gkech Oct 17, 2025
c3cd8b9
Merge branch 'main' into K8SPG-869
gkech Oct 17, 2025
51a6d6d
cr: add test case for backups disabled with at least one repo available
gkech Oct 17, 2025
5a522a3
Merge pull request #1327 from percona/K8SPG-869
hors Oct 17, 2025
94fc9d6
K8SPG-869 make repo field completely optional
gkech Oct 20, 2025
2d8ba85
add unit test for enabled backups with nil repos - throw error
gkech Oct 20, 2025
26aaa54
Merge pull request #1329 from percona/K8SPG-869-missing-repo
hors Oct 20, 2025
d8248fe
K8SPG-883 support cr.Status.PatroniVersion and cr.Status.Patroni.Vers…
gkech Oct 23, 2025
2f57481
K8SPG-836: Add separate check for ppg13&14 grantPublicSchemaAccess (#…
eleo007 Oct 23, 2025
f96c9d5
Add table for test duration in GH report
jvpasinatto Oct 27, 2025
fa0d511
Merge pull request #1335 from percona/CLOUD-909
eleo007 Oct 28, 2025
fb402ea
CLOUD-727: Bump github.com/kubernetes-csi/external-snapshotter/client…
dependabot[bot] Oct 29, 2025
da934eb
CLOUD-727: Bump github.com/onsi/ginkgo/v2 from 2.26.0 to 2.27.2 (#1337)
dependabot[bot] Oct 29, 2025
5a83485
CLOUD-727: Bump go.nhat.io/grpcmock from 0.32.0 to 0.33.0 (#1336)
dependabot[bot] Oct 29, 2025
1c1dd05
K8SPG-884: Fix shared_preload_libraries order (#1339)
egegunes Oct 29, 2025
e0ac59d
K8SPG-833 add "custom-envs" e2e test (#1315)
nmarukovich Oct 29, 2025
817cf8c
K8SPG-876: Log commands before execing them in containers (#1341)
egegunes Oct 30, 2025
bd567da
K8SPG-882 determine patroni version without using the special patroni…
gkech Nov 3, 2025
3c69563
K8SPG-836: Update versions for 2.8.0 release (#1342)
eleo007 Nov 3, 2025
fed0fc6
K8SPG-836: bump cert manager version (#1343)
eleo007 Nov 3, 2025
b68ed2a
K8SPG-833_fix_test add stability (#1344)
nmarukovich Nov 6, 2025
3628587
K8SPG-836: increase sleep for telemetry transfer tests
eleo007 Nov 6, 2025
6fb3c95
K8SPG-833_fix_test add stability (#1344)
nmarukovich Nov 6, 2025
b881c3c
Increase timout for telemetry-transfer
eleo007 Nov 6, 2025
c9719cf
Merge pull request #1345 from percona/K8SPG-836-tests
eleo007 Nov 7, 2025
d1c1bc0
K8SPG-836: custom-envs test - insrease timeout for cluster start
eleo007 Nov 7, 2025
15c51a2
K8SPG-893 configure LC_ALL and LANG for database containers (#1350)
gkech Nov 12, 2025
8290a40
K8SPG-894 upgrade job using the init container from primary sts (#1351)
gkech Nov 12, 2025
5a2ced4
K8SPG-894: bring back major-upgrade test but remove restores from it …
eleo007 Nov 12, 2025
f2b450a
K8SPG-893 configure LC_ALL and LANG for database containers (#1350)
gkech Nov 12, 2025
0d947b2
K8SPG-894 upgrade job using the init container from primary sts (#1351)
gkech Nov 12, 2025
751f084
Revert images back to main after 2.8.0 release (#1353)
eleo007 Nov 13, 2025
fb81eab
Merge branch 'main' into release-2.8.0
eleo007 Nov 13, 2025
f36b46f
Run reviewdog manifests when base_ref is 'release-'
eleo007 Nov 14, 2025
eda2314
Merge pull request #1354 from percona/release-2.8.0
eleo007 Nov 14, 2025
3adc812
CLOUD-727: Bump github.com/go-openapi/runtime from 0.29.0 to 0.29.2 (…
dependabot[bot] Nov 17, 2025
fa2a24b
CLOUD-727: Bump golang.org/x/crypto from 0.43.0 to 0.45.0 (#1366)
dependabot[bot] Nov 20, 2025
6cee6dd
CLOUD-727: Bump k8s.io/apiextensions-apiserver from 0.34.1 to 0.34.2 …
dependabot[bot] Nov 21, 2025
18d2f91
K8SPG-837 switch base image to RHEL 10 for PG K8s Operator (#1232)
hors Nov 30, 2025
664152c
CLOUD-727: Bump github.com/go-openapi/swag from 0.25.1 to 0.25.3 (#1358)
dependabot[bot] Nov 30, 2025
a578675
CLOUD-727: Bump golang.org/x/tools from 0.38.0 to 0.39.0 (#1361)
dependabot[bot] Nov 30, 2025
315dc19
CLOUD-727: Bump go.uber.org/zap from 1.27.0 to 1.27.1 (#1369)
dependabot[bot] Nov 30, 2025
81ff846
CLOUD-727: Bump google.golang.org/grpc from 1.76.0 to 1.77.0 (#1359)
dependabot[bot] Nov 30, 2025
674c26a
Fix panic on JSON marshal if PITRestoreDateTime is not a pointer (#1368)
pcman312 Dec 1, 2025
1c8946f
CLOUD-727: Bump golangci/golangci-lint-action from 8 to 9 (#1371)
dependabot[bot] Dec 1, 2025
14a7636
CLOUD-727: Bump actions/checkout from 5 to 6 (#1372)
dependabot[bot] Dec 1, 2025
5c84ff3
K8SPG-852 add support of PG18 (#1370)
hors Dec 10, 2025
c3e7cb3
K8SPG-852 add support of PG18 (#1370)
hors Dec 10, 2025
18fb2bc
CLOUD-727: Bump golang.org/x/crypto from 0.43.0 to 0.45.0 (#1366)
dependabot[bot] Nov 20, 2025
3a5ef62
Go tidy for fa2a24b81
eleo007 Dec 10, 2025
c5338ba
K8SPG-913: Update versions for 2.8.1 release
eleo007 Dec 10, 2025
34e1c89
Merge pull request #1382 from percona/release-2.8.1-cherrypick
eleo007 Dec 11, 2025
85ed95d
K8SPG-913: increase custom-tls timeout
eleo007 Dec 12, 2025
06758b9
K8SPG-913: allow PG17 in fromPostgresVersion
eleo007 Dec 15, 2025
d86c8fa
Revert images back to main after 2.8.1 release
eleo007 Dec 16, 2025
93bb758
Fix conflicts with main
eleo007 Dec 16, 2025
23ea0d5
Fix upgrade consistency and add major PG18
eleo007 Dec 16, 2025
2f4bc74
Merge pull request #1384 from percona/release-2.8.1
hors Dec 17, 2025
41a695a
K8SPG-919 Update versions for 2.8.2 release (#1386)
eleo007 Dec 22, 2025
2da4880
CLOUD-727: Bump github.com/go-openapi/swag from 0.25.3 to 0.25.4
dependabot[bot] Dec 23, 2025
626658e
CLOUD-727: Bump github.com/hashicorp/go-version from 1.7.0 to 1.8.0
dependabot[bot] Dec 23, 2025
180c3ed
CLOUD-727: Bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace
dependabot[bot] Dec 23, 2025
40bd1ea
Revert images back to main after 2.8.2 release (#1387)
eleo007 Jan 5, 2026
cea1c8c
Fix conflicts for 2.8.2
eleo007 Jan 5, 2026
797077b
Use 2.8.2 in 02-patch-cluster step
eleo007 Jan 5, 2026
d6cbbb5
Merge pull request #1388 from percona/release-2.8.2
hors Jan 6, 2026
f09002d
CLOUD-946 Remove Snyk gh action
jvpasinatto Jan 6, 2026
3787ad0
Merge pull request #1393 from percona/CLOUD-946
hors Jan 6, 2026
00b726f
Merge branch 'main' into dependabot/go_modules/go.opentelemetry.io/ot…
hors Jan 6, 2026
9b9992f
Merge pull request #1381 from percona/dependabot/go_modules/go.opente…
hors Jan 7, 2026
487b2a3
CLOUD-727: Bump golang.org/x/crypto from 0.45.0 to 0.46.0
dependabot[bot] Jan 7, 2026
88628fb
Merge pull request #1379 from percona/dependabot/go_modules/golang.or…
hors Jan 7, 2026
a4aaa78
CLOUD-727: Bump github.com/onsi/gomega from 1.38.2 to 1.38.3
dependabot[bot] Jan 7, 2026
26c58f5
CLOUD-727: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace
dependabot[bot] Jan 7, 2026
fa3b222
CLOUD-727: Bump github.com/go-openapi/errors from 0.22.4 to 0.22.5
dependabot[bot] Jan 7, 2026
127110d
Merge branch 'main' into dependabot/go_modules/github.com/hashicorp/g…
hors Jan 8, 2026
a89e1ee
Merge branch 'main' into dependabot/go_modules/github.com/go-openapi/…
hors Jan 8, 2026
1d967a9
Merge pull request #1376 from percona/dependabot/go_modules/github.co…
hors Jan 8, 2026
b13bdd8
Merge branch 'main' into dependabot/go_modules/github.com/hashicorp/g…
hors Jan 8, 2026
2cabe8d
Merge branch 'main' into dependabot/go_modules/github.com/go-openapi/…
hors Jan 8, 2026
2d295a2
Merge branch 'main' into dependabot/go_modules/github.com/go-openapi/…
hors Jan 8, 2026
4514ec4
Merge pull request #1377 from percona/dependabot/go_modules/github.co…
hors Jan 8, 2026
8e0ea06
Merge branch 'main' into dependabot/go_modules/github.com/hashicorp/g…
hors Jan 8, 2026
b734338
Merge branch 'main' into dependabot/go_modules/github.com/go-openapi/…
hors Jan 8, 2026
cbc2814
Merge branch 'main' into dependabot/go_modules/go.opentelemetry.io/ot…
hors Jan 8, 2026
3847ac8
Merge pull request #1378 from percona/dependabot/go_modules/go.opente…
hors Jan 8, 2026
6b4847f
Merge branch 'main' into dependabot/go_modules/github.com/hashicorp/g…
hors Jan 8, 2026
1c4e4b5
Merge pull request #1373 from percona/dependabot/go_modules/github.co…
hors Jan 8, 2026
08babbd
Merge branch 'main' into dependabot/go_modules/github.com/go-openapi/…
hors Jan 8, 2026
fe0d05b
Merge pull request #1374 from percona/dependabot/go_modules/github.co…
hors Jan 8, 2026
591eb8d
CLOUD-727: Bump sigs.k8s.io/controller-runtime from 0.21.0 to 0.22.1
dependabot[bot] Jan 8, 2026
defdd50
fix
pooknull Jan 8, 2026
8c4ff8b
fix weird bug
pooknull Jan 8, 2026
3450cd3
update deps
pooknull Jan 8, 2026
3c66aa2
update envtest version
pooknull Jan 8, 2026
a532b7e
`make manifests` and update `controller-gen`
pooknull Jan 8, 2026
c4f8ced
fix unit-tests
pooknull Jan 8, 2026
1f3b7ad
Skip `TestCheckForUpgradesScheduler` test
pooknull Jan 8, 2026
9257546
CLOUD-727 Update codeowners file
hors Jan 12, 2026
956b61f
Merge pull request #1396 from percona/CLOUD-727-codeowners
hors Jan 13, 2026
b735130
Merge branch 'main' into dependabot/go_modules/sigs.k8s.io/controller…
hors Jan 14, 2026
95ecfe0
Merge pull request #1277 from percona/dependabot/go_modules/sigs.k8s.…
hors Jan 14, 2026
aee1922
K8SPG-665: change exposeSuperusers example in cr.yaml (#1409)
nmarukovich Jan 19, 2026
68a0313
K8SPG-740 fix error message
nmarukovich Jan 19, 2026
c6ee631
fix import
nmarukovich Jan 19, 2026
8943922
CLOUD-727: Bump go.opentelemetry.io/contrib/instrumentation/net/http/…
dependabot[bot] Jan 19, 2026
58c3a2c
CLOUD-727: Bump golang.org/x/crypto from 0.46.0 to 0.47.0 (#1404)
dependabot[bot] Jan 19, 2026
9f7d791
CLOUD-727: Bump go.nhat.io/grpcmock from 0.33.0 to 0.34.0 (#1405)
dependabot[bot] Jan 19, 2026
9dffe47
CLOUD-727: Bump golang.org/x/tools from 0.39.0 to 0.41.0 (#1399)
dependabot[bot] Jan 19, 2026
94b3f1d
CLOUD-727: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otl…
dependabot[bot] Jan 19, 2026
63566de
CLOUD-727: Bump github.com/onsi/ginkgo/v2 from 2.27.2 to 2.27.5 (#1398)
dependabot[bot] Jan 19, 2026
e3561ef
K8SPG-901: fix panic (#1391)
pooknull Jan 19, 2026
75642a8
Merge branch 'main' into K8SPG-740
nmarukovich Jan 19, 2026
5b9e2d2
fix PR comments
nmarukovich Jan 20, 2026
e337bf8
Merge branch 'K8SPG-740' of github.com:percona/percona-postgresql-ope…
nmarukovich Jan 20, 2026
b5165f5
K8SPG-933: standby cannot be created (#1410)
mayankshah1607 Jan 21, 2026
f7f78ad
K8SPG-740 add test for huge pages
nmarukovich Feb 2, 2026
e147f22
fix PR comments
nmarukovich Feb 2, 2026
1906cad
Apply suggestions from code review
nmarukovich Feb 3, 2026
8eae6f3
add test run
nmarukovich Feb 3, 2026
d7cbbb1
fix PR comments
nmarukovich Feb 4, 2026
b36fc53
Update test dependencies (#1423)
valmiranogueira Feb 4, 2026
3318f26
Merge branch 'main' into K8SPG-834_add_hp_test
egegunes Feb 5, 2026
44b40cd
CLOUD-727: Bump github.com/onsi/gomega from 1.38.3 to 1.39.1 (#1432)
dependabot[bot] Feb 9, 2026
75a11d5
CLOUD-727: Bump go.opentelemetry.io/contrib/instrumentation/net/http/…
dependabot[bot] Feb 10, 2026
6f3fc9f
CLOUD-727: Bump github.com/pganalyze/pg_query_go/v6 from 6.1.0 to 6.2…
dependabot[bot] Feb 10, 2026
c420eab
CLOUD-727: Bump github.com/grpc-ecosystem/grpc-gateway/v2 (#1431)
dependabot[bot] Feb 10, 2026
3c42676
CLOUD-727: Bump github.com/onsi/ginkgo/v2 from 2.27.5 to 2.28.1 (#1430)
dependabot[bot] Feb 10, 2026
c9760c0
CLOUD-727: Bump github.com/golang-jwt/jwt/v5 from 5.3.0 to 5.3.1 (#1427)
dependabot[bot] Feb 10, 2026
d8d61be
CLOUD-727: Bump sigs.k8s.io/controller-runtime from 0.22.4 to 0.23.1 …
dependabot[bot] Feb 10, 2026
48a91ff
K8SPG-822: add `builtin-extensions` e2e test (#1397)
pooknull Feb 10, 2026
0d2e0af
CLOUD-727: Bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4 (#1415)
dependabot[bot] Feb 10, 2026
72bd50b
Update codeowners (#1425)
jvpasinatto Feb 10, 2026
e97aebd
K8SPG-758: add `PPROF_BIND_ADDRESS` env var to `operator.yaml` (#1392)
pooknull Feb 10, 2026
dae160f
K8SPG-837 improve image building process (#1422)
hors Feb 10, 2026
2a8032f
K8SPG-374: detect replication lag on standby (#1407)
mayankshah1607 Feb 10, 2026
507c716
fix condition
nmarukovich Feb 10, 2026
948c793
fix condition delete space
nmarukovich Feb 10, 2026
debcf07
Merge branch 'main' into K8SPG-834_add_hp_test
nmarukovich Feb 10, 2026
a579e0e
fix gke cluster test
nmarukovich Feb 10, 2026
3217e96
fix
nmarukovich Feb 11, 2026
f945921
fix
nmarukovich Feb 11, 2026
140bdc5
fix
nmarukovich Feb 11, 2026
4d4f0ef
fix
nmarukovich Feb 11, 2026
72f165f
delete debug info
nmarukovich Feb 11, 2026
0d31128
Merge branch 'main' into K8SPG-740
nmarukovich Feb 11, 2026
5eed221
Merge pull request #1424 from percona/K8SPG-834_add_hp_test
nmarukovich Feb 12, 2026
4d85a26
Merge branch 'main' into K8SPG-740
nmarukovich Feb 12, 2026
74b9009
add nil check before assigning to map (#1437)
mayankshah1607 Feb 12, 2026
cab2526
Merge branch 'main' into K8SPG-740
nmarukovich Feb 12, 2026
6cdcf3d
Merge pull request #1411 from percona/K8SPG-740
nmarukovich Feb 12, 2026
0858be5
Add Github Copilot instructions file (#1438)
mayankshah1607 Feb 13, 2026
f9b2aa7
K8SPG-694: add `clusterServiceDNSSuffix` (#1417)
pooknull Feb 13, 2026
1ec30a1
K8SPG-771: Offline snapshots (#1418)
mayankshah1607 Feb 16, 2026
32278ca
CLOUD-727: Bump Go to 1.26.0 (#1442)
mayankshah1607 Feb 16, 2026
a0928c6
K8SPG-938 fix conditions (#1435)
nmarukovich Feb 16, 2026
86b9245
K8SPG-647 separate major upgrade test
nmarukovich Feb 17, 2026
f226de3
fix
nmarukovich Feb 17, 2026
dc1d761
add run-release
nmarukovich Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .e2eignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ CONTRIBUTING.md
LICENSE.md
README.md
.gitignore
release_versions
release_versions
.e2eignore
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* @hors @egegunes @pooknull @nmarukovich @gkech
/e2e-tests/ @ptankov @jvpasinatto @eleo007
Jenkinsfile @ptankov @jvpasinatto @eleo007
* @hors @egegunes @pooknull @nmarukovich @gkech @mayankshah1607 @oksana-grishchenko
/e2e-tests/ @jvpasinatto @eleo007 @valmiranogueira @egegunes @pooknull @nmarukovich @gkech @mayankshah1607 @oksana-grishchenko
Jenkinsfile @jvpasinatto @eleo007 @valmiranogueira
75 changes: 75 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# GitHub Copilot Code Review Instructions

## Review Philosophy

- Only comment when you have HIGH CONFIDENCE (>80%) that an issue exists
- Be concise
- Focus on actionable feedback, not observations
- If you're uncertain, stay silent—false positives reduce trust

## Project Context

Kubernetes Operator for PostgreSQL (Operator SDK, controller-runtime). Go + YAML. Key paths: `internal/`, `percona/`, `pkg/apis` and `e2e-tests/`.

## Priority Areas

### Security

- Hardcoded secrets, credentials, or API keys
- SQL injection—use parameterized queries, never string concatenation
- Missing or overly broad RBAC (`+kubebuilder:rbac` on reconcile functions)
- Logging of secrets or sensitive data
- Unvalidated user input before DB operations

### Correctness

- Logic errors that could cause panics or incorrect behavior
- Race conditions, resource leaks (files, connections, memory)
- Incorrect or missing error propagation
- Error wrapping that doesn't add useful context
- Redundant comments that restate what the code shows

### Imports and Dependencies

- Use standard import aliases: `corev1`, `appsv1`, `metav1`, `apierrors`, etc. (per `.golangci.yaml`)
- Import order: standard, default, `github.com/percona` prefix

### Controller / Reconcile Logic

- Add `+kubebuilder:rbac` above reconcile functions that create/update K8s resources
- Set controller/owner references for owned resources
- Idempotent reconcile; handle `apierrors.IsConflict` with requeue

### Logging

- Prefer `logging.FromContext(ctx)` for loggers
- Use structured fields: `log.Info("message", "key", value)`
- Add logging for important operator actions (reconcile steps, errors, retries)

### Testing

- New features: expect unit tests and/or E2E (KUTTL) where appropriate
- Unit tests should use `assert` and `require` from `github.com/stretchr/testify` wherever applicable
- Utilize table driven tests when possible
- Test names should describe the scenario

## Response Format

When you identify an issue:

1. **Problem** (1 sentence)
2. **Why it matters** (1 sentence, only if not obvious)
3. **Fix** (concrete suggestion or code snippet)

Example:
```
1. **Problem**: This map access can panic if the map is nil.
2. **Why it matters**: A panic can crash the operator and disrupt reconciliation.
3. **Fix**: Initialize the map before use, e.g. `m := make(map[string]string)` before assigning or reading.
```

## When to Stay Silent

- You're uncertain whether something is an issue
- The concern is stylistic and the code is acceptable
- The fix would be a matter of preference, not correctness or security
2 changes: 1 addition & 1 deletion .github/linters/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module linters

go 1.23.4
go 1.26.0
5 changes: 0 additions & 5 deletions .github/pr-badge.yml

This file was deleted.

39 changes: 23 additions & 16 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
name: runner / suggester / golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
go-version: '^1.23'
- uses: actions/checkout@v4
go-version: '^1.26.0'
- uses: actions/checkout@v6
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v9
with:
version: latest
only-new-issues: true
Expand All @@ -20,10 +20,10 @@ jobs:
name: runner / suggester / goimports-reviser
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '^1.23'
go-version: '^1.26.0'
- run: go install -v github.com/incu6us/goimports-reviser/v3@latest
- run: $(go env GOPATH)/bin/goimports-reviser -imports-order "std,general,company,project" -company-prefixes "github.com/percona" ./...
- uses: reviewdog/action-suggester@v1
Expand All @@ -34,7 +34,7 @@ jobs:
name: runner / suggester / gofmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: gofmt -w -s $(find . -not -path "*/vendor/*" -name "*.go")
- uses: reviewdog/action-suggester@v1
with:
Expand All @@ -44,10 +44,10 @@ jobs:
name: runner / suggester / shfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '^1.23'
go-version: '^1.26.0'
- run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
- run: $(go env GOPATH)/bin/shfmt -bn -ci -s -w .
- name: suggester / shfmt
Expand All @@ -60,7 +60,7 @@ jobs:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -70,7 +70,7 @@ jobs:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -81,7 +81,7 @@ jobs:
name: runner / alex
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: reviewdog/action-alex@v1
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -92,7 +92,14 @@ jobs:
name: runner / manifests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
- uses: actions/checkout@v6
- name: check on release branch
if: ${{ contains(github.base_ref, 'release-') }}
run: |
make generate VERSION="$(cat percona/version/version.txt)" IMAGE_TAG_BASE="percona/percona-postgresql-operator"
git diff --exit-code
- name: check on non release branches
if: ${{ ! contains(github.base_ref, 'release-') }}
run: |
make generate VERSION=main
git diff --exit-code
24 changes: 1 addition & 23 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -30,32 +30,10 @@ jobs:
export DOCKER_DEFAULT_PLATFORM='linux/arm64'
make build-docker-image

- name: Run Trivy vulnerability scanner image (linux/arm64)
uses: aquasecurity/trivy-action@0.30.0
with:
image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-arm64'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
version: 'v0.57.1'

- name: Build an image from Dockerfile (linux/amd64)
run: |
export IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-amd64
export DOCKER_PUSH=0
export DOCKER_SQUASH=0
export DOCKER_DEFAULT_PLATFORM='linux/amd64'
make build-docker-image

- name: Run Trivy vulnerability scanner image (linux/amd64)
uses: aquasecurity/trivy-action@0.30.0
with:
image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-amd64'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
version: 'v0.57.1'
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '^1.23'
- uses: actions/checkout@v4
go-version: '^1.26.0'
- uses: actions/checkout@v6
- name: Basic tests
run: make check
- name: envtest
run: ENVTEST_K8S_VERSION=1.32 make check-envtest
run: ENVTEST_K8S_VERSION=1.35 make check-envtest
10 changes: 6 additions & 4 deletions .golangci.next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ linters:
enable:
- contextcheck
- err113
- errchkjson
- gocritic
- godot
- godox
Expand All @@ -28,13 +27,16 @@ linters:
- wastedassign

issues:
exclude-rules:
# We call external linters when they are installed: Flake8, ShellCheck, etc.
- linters: [gosec]
path: '_test[.]go$'
text: 'G204: Subprocess launched with variable'

# https://github.com/golangci/golangci-lint/issues/2239
exclude-use-default: false

linters-settings:
errchkjson:
check-error-free-encoding: true

thelper:
# https://github.com/kulti/thelper/issues/27
tb: { begin: true, first: true }
Expand Down
Loading
Loading