Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
292353f
added liveness probe for postgres-container
Schmaetz Sep 3, 2025
a149991
add SecuityContext for Monitoring-Sidecar
Schmaetz Sep 4, 2025
82cfc2a
prepare for ReadOnlyRootFilesystem - add /tmp & /run emptyDir - add R…
Schmaetz Sep 4, 2025
afb7aff
add func for emptyDir-Volumes - preparation for ReadOnlyRootFilesyste…
Schmaetz Sep 5, 2025
03305a2
modifications for ReadOnlyRootFilesystem
Schmaetz Sep 5, 2025
b8f098e
change pgbackrest jobs to readOnlyRootFilesystem:true
Schmaetz Sep 5, 2025
93d3fae
use emptyDir for /run - preparation for ReadOnlyRootFilesystem:true
Schmaetz Sep 5, 2025
63e1183
add tmp for postgres-container if ReadOnlyRootFilesystem=true
Schmaetz Sep 5, 2025
1e686eb
correct wrong changes
Schmaetz Sep 5, 2025
6ede073
add ReadOnlyRootFilesystem for postgres container and add needed env …
Schmaetz Sep 5, 2025
3ce3873
Fix Restore with TDE-KEy
Schmaetz Oct 9, 2025
0fa905e
update to go 1.25.2P
Schmaetz Oct 9, 2025
a7fee6f
change LivenessProbe to patroni /liveness api-endpoint
Schmaetz Oct 9, 2025
04f8519
cleanup old code
Schmaetz Oct 9, 2025
1a5e53c
fix for pgBackRest Monitoring on Replicas
Schmaetz Oct 9, 2025
67bfcce
rewrite func
Schmaetz Oct 9, 2025
ed2abae
rewrite func
Schmaetz Oct 9, 2025
5884bc0
update file for go 1.25.2
Schmaetz Oct 9, 2025
317f3de
func to add or remove annotations
idanovinda Oct 9, 2025
04087eb
func to add or remove annotations
Oct 9, 2025
cbfe201
take over several changes
Oct 9, 2025
9c16535
func to add or remove annotations
idanovinda Oct 9, 2025
79f11a2
go mod
Schmaetz Oct 9, 2025
cce3304
Merge branch 'importMajorUpgrade' into UpdateGo
Schmaetz Oct 9, 2025
78a1f9b
update to go 1.25.x
Oct 9, 2025
6568409
Merge pull request #88 from cybertec-postgresql/securityContext
Schmaetz Oct 10, 2025
496edc0
Merge pull request #92 from cybertec-postgresql/FixpgBackRestMonitoring
Schmaetz Oct 10, 2025
2b5d699
Merge pull request #91 from cybertec-postgresql/TDERestore
Schmaetz Oct 10, 2025
d70f3eb
Merge pull request #93 from cybertec-postgresql/importMajorUpgrade
Schmaetz Oct 10, 2025
16edda3
update docu and readme
Schmaetz Oct 10, 2025
863420a
Merge pull request #94 from cybertec-postgresql/UpdateGo
Schmaetz Oct 10, 2025
43578f3
fix for restore if ReadOnlyRootFilesystem: true
Schmaetz Oct 14, 2025
48ea7d5
add ENV to ensure patroni can find postgres.yml if ReadOnlyRootFilesy…
Schmaetz Oct 14, 2025
3c95256
add empty-dir for pgbackrest repohost if readonlyrootfilesystem
Schmaetz Oct 17, 2025
b77d7dd
small fixes
Schmaetz Oct 30, 2025
1d25f8d
Merge pull request #95 from cybertec-postgresql/SecurityContext
Schmaetz Oct 30, 2025
abcf711
update all to pg18 and add data_checksum as default to initdb
Schmaetz Oct 30, 2025
b987e26
doc modifications
Schmaetz Oct 31, 2025
715165c
Merge pull request #96 from cybertec-postgresql/updateDocu
Schmaetz Oct 31, 2025
be516d0
Merge pull request #97 from cybertec-postgresql/doc
Schmaetz Oct 31, 2025
9f5dc08
ensure readinessProbe default false, livenessProbe default false
Schmaetz Oct 31, 2025
94f1e18
add livenessProbe and container_readonly_root_filesystem and change d…
Schmaetz Oct 31, 2025
4f5cf5a
add OperatorConfiguration
Schmaetz Oct 31, 2025
c6f0172
update docu
Schmaetz Nov 5, 2025
f675884
add OwnerReference for Statefulsets
Schmaetz Nov 21, 2025
648c5f6
add OwnerReference for Statefulsets
Schmaetz Nov 21, 2025
6ff3e78
Merge pull request #102 from cybertec-postgresql/OwnerReference
Schmaetz Nov 21, 2025
0cb03a1
update docs
Schmaetz Nov 21, 2025
774ed5c
ensure apiVersion not null when creating OwnerReference
Schmaetz Nov 27, 2025
c57ad4a
add default values
Schmaetz Nov 27, 2025
4886bca
update crd documentation
Schmaetz Nov 28, 2025
dd8cb5e
update docs
Schmaetz Dec 3, 2025
5e39249
change base-image-repo
Schmaetz Dec 3, 2025
431d642
change go url
Schmaetz Dec 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions .github/workflows/publish_ghcr_image.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/run_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-go@v2
with:
go-version: "^1.23.4"
go-version: "^1.25.2"
- name: Make dependencies
run: make deps mocks
- name: Code generation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.23.4"
go-version: "^1.25.2"
- name: Make dependencies
run: make deps mocks
- name: Compile
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ VERSION ?= $(shell git describe --tags --always --dirty)
DIRS := cmd pkg
PKG := `go list ./... | grep -v /vendor/`

BASE_IMAGE ?= rockylinux:9
BASE_IMAGE ?= rockylinux/rockylinux:9
# BASE_IMAGE ?= rockylinux/rockylinux:10
PACKAGER ?= dnf
BUILD ?= 1
Expand Down Expand Up @@ -89,7 +89,7 @@ docker-local: build/cybertec-pg-operator


indocker-race:
docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.23.4 bash -c "make linux"
docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.25.2 bash -c "make linux"

push:
docker push "$(IMAGE):$(TAG)$(CDP_TAG)"
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This architecture forms the basis for a modern, highly available and scalable Po

## PostgreSQL features

- PostgreSQL 13 to 17
- PostgreSQL 13 to 18
- Streaming replication via **Patroni**
- Fully integrated backup & PITR with `pgBackRest` or `pg_basebackup`
- Extensions like:
Expand All @@ -73,7 +73,8 @@ This architecture forms the basis for a modern, highly available and scalable Po
| Release | PostgreSQL | pgBackRest | Patroni | Kubernetes | Go |
|---------|------------|------------|---------|------------|---------|
| 0.8.0 | 13 - 17 | 2.53 | 4.0.2 | 1.21+ | 1.21.7 |
| 0.8.3 | 13 - 17 | 2.54-2 | 4.0.5 | 1.21+ | 1.22.12 |
| 0.8.3 | 13 - 17 | 2.54+ | 4.0.5 | 1.21+ | 1.22.12 |
| 0.9.0 | 13 - 18 | 2.56+ | 4.1.0 | 1.21+ | 1.25.2 |

---

Expand Down
2 changes: 1 addition & 1 deletion charts/postgres-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# my-annotation: value

cluster:
dockerImage: docker.io/cybertecpostgresql/cybertec-pg-container:postgres-17.6-1
dockerImage: docker.io/cybertecpostgresql/cybertec-pg-container:postgres-18.0-1
numberOfInstances: 2

postgresql:
Expand Down
7 changes: 5 additions & 2 deletions charts/postgres-operator/crds/operatorconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ spec:
default: "13"
target_major_version:
type: string
default: "17"
default: "18"
kubernetes:
type: object
properties:
Expand Down Expand Up @@ -216,7 +216,10 @@ spec:
default: true
enable_readiness_probe:
type: boolean
default: false
default: true
enable_liveness_probe:
type: boolean
default: false
enable_sidecars:
type: boolean
default: true
Expand Down
4 changes: 2 additions & 2 deletions charts/postgres-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ configMajorVersionUpgrade:
# minimal Postgres major version that will not automatically be upgraded
minimal_major_version: "13"
# target Postgres major version when upgrading clusters automatically
target_major_version: "17"
target_major_version: "18"

configKubernetes:
# list of additional capabilities for postgres container
Expand Down Expand Up @@ -130,7 +130,7 @@ configKubernetes:
# toggles PDB to set to MinAvailabe 0 or 1
enable_pod_disruption_budget: true
# toogles readiness probe for database pods
enable_readiness_probe: false
enable_readiness_probe: true
# enables sidecar containers to run alongside Spilo in the same pod
enable_sidecars: true

Expand Down
2 changes: 1 addition & 1 deletion docker/build_operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -ex

(
cd /tmp
wget -q "https://storage.googleapis.com/golang/go1.24.6.linux-${arch}.tar.gz" -O go.tar.gz
wget -q "https://go.dev/dl/go1.25.2.linux-${arch}.tar.gz" -O go.tar.gz
tar -xf go.tar.gz
mv go /usr/local
ln -s /usr/local/go/bin/go /usr/bin/go
Expand Down
6 changes: 3 additions & 3 deletions docs/hugo/content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ date: 2024-03-11T14:26:51+01:00
draft: false
weight: 1
---
Current Release: 0.8.3 (04.04.2025) [Release Notes](release_notes)
Current Release: 0.9.0 (31.10.2025) [Release Notes](release_notes)

<img src="https://raw.githubusercontent.com/cybertec-postgresql/CYBERTEC-pg-operator/fac724618ea1395ed49cb1db7f3429f5b4324337/docs/diagrams/cpo_logo.svg" alt="drawing" width="350" />

Expand All @@ -21,8 +21,8 @@ The following features characterise our operator:
- Reduction of downtime thanks to redundancy, pod anti-affinity, auto-failover and self-healing

CPO is tested on the following platforms:
- Kubernetes: 1.21 - 1.28
- Openshift: 4.8 - 4.13
- Kubernetes: 1.21 - 1.32
- Openshift: 4.8 - 4.19
- Rancher
- AWS EKS
- Azure AKS
Expand Down
Loading
Loading