Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit 791ff55

Browse files
authored
Merge branch 'zalando:master' into master
2 parents d3410e8 + 68c4b49 commit 791ff55

File tree

168 files changed

+6118
-2991
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+6118
-2991
lines changed

.github/ISSUE_TEMPLATE/postgres-operator-issue-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ assignees: ''
99

1010
Please, answer some short questions which should help us to understand your problem / question better?
1111

12-
- **Which image of the operator are you using?** e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.11.0
12+
- **Which image of the operator are you using?** e.g. ghcr.io/zalando/postgres-operator:v1.13.0
1313
- **Where do you run it - cloud or metal? Kubernetes or OpenShift?** [AWS K8s | GCP ... | Bare Metal K8s]
1414
- **Are you running Postgres Operator in production?** [yes | no]
1515
- **Type of issue?** [Bug report, question, feature request, etc.]

.github/workflows/publish_ghcr_image.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- uses: actions/setup-go@v2
2525
with:
26-
go-version: "^1.21.7"
26+
go-version: "^1.23.4"
2727

2828
- name: Run unit tests
2929
run: make deps mocks test
@@ -65,7 +65,7 @@ jobs:
6565
context: .
6666
file: docker/Dockerfile
6767
push: true
68-
build-args: BASE_IMAGE=alpine:3.15
68+
build-args: BASE_IMAGE=alpine:3
6969
tags: "${{ steps.image.outputs.OPERATOR_IMAGE }}"
7070
platforms: linux/amd64,linux/arm64
7171

@@ -74,14 +74,14 @@ jobs:
7474
with:
7575
context: ui
7676
push: true
77-
build-args: BASE_IMAGE=alpine:3.15
77+
build-args: BASE_IMAGE=python:3.11-slim
7878
tags: "${{ steps.image_ui.outputs.UI_IMAGE }}"
7979
platforms: linux/amd64,linux/arm64
8080

8181
- name: Build and push multiarch logical-backup image to ghcr
8282
uses: docker/build-push-action@v3
8383
with:
84-
context: docker/logical-backup
84+
context: logical-backup
8585
push: true
8686
build-args: BASE_IMAGE=ubuntu:22.04
8787
tags: "${{ steps.image_lb.outputs.BACKUP_IMAGE }}"

.github/workflows/run_e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v1
1515
- uses: actions/setup-go@v2
1616
with:
17-
go-version: "^1.21.7"
17+
go-version: "^1.23.4"
1818
- name: Make dependencies
1919
run: make deps mocks
2020
- name: Code generation

.github/workflows/run_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-go@v2
1616
with:
17-
go-version: "^1.21.7"
17+
go-version: "^1.23.4"
1818
- name: Make dependencies
1919
run: make deps mocks
2020
- name: Compile
2121
run: make linux
2222
- name: Run unit tests
2323
run: go test -race -covermode atomic -coverprofile=coverage.out ./...
2424
- name: Convert coverage to lcov
25-
uses: jandelgado/gcov2lcov-action@v1.0.9
25+
uses: jandelgado/gcov2lcov-action@v1.1.1
2626
- name: Coveralls
2727
uses: coverallsapp/github-action@master
2828
with:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,7 @@ e2e/tls
102102
*.pot
103103

104104
mocks
105+
106+
ui/.npm/
107+
108+
.DS_Store

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ docker: ${DOCKERDIR}/${DOCKERFILE}
6969
docker build --rm -t "$(IMAGE):$(TAG)$(CDP_TAG)$(DEBUG_FRESH)$(DEBUG_POSTFIX)" -f "${DOCKERDIR}/${DOCKERFILE}" --build-arg VERSION="${VERSION}" .
7070

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

7474
push:
7575
docker push "$(IMAGE):$(TAG)$(CDP_TAG)"
@@ -78,7 +78,7 @@ mocks:
7878
GO111MODULE=on go generate ./...
7979

8080
tools:
81-
GO111MODULE=on go get -d k8s.io/client-go@kubernetes-1.28.7
81+
GO111MODULE=on go get k8s.io/client-go@kubernetes-1.30.4
8282
GO111MODULE=on go install github.com/golang/mock/[email protected]
8383
GO111MODULE=on go mod tidy
8484

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,17 @@ pipelines with no access to Kubernetes API directly, promoting infrastructure as
2424
* Basic credential and user management on K8s, eases application deployments
2525
* Support for custom TLS certificates
2626
* UI to create and edit Postgres cluster manifests
27-
* Support for AWS EBS gp2 to gp3 migration, supporting iops and throughput configuration
2827
* Compatible with OpenShift
2928

3029
### PostgreSQL features
3130

32-
* Supports PostgreSQL 16, starting from 11+
31+
* Supports PostgreSQL 17, starting from 13+
3332
* Streaming replication cluster via Patroni
3433
* Point-In-Time-Recovery with
35-
[pg_basebackup](https://www.postgresql.org/docs/16/app-pgbasebackup.html) /
34+
[pg_basebackup](https://www.postgresql.org/docs/17/app-pgbasebackup.html) /
3635
[WAL-E](https://github.com/wal-e/wal-e) via [Spilo](https://github.com/zalando/spilo)
3736
* Preload libraries: [bg_mon](https://github.com/CyberDem0n/bg_mon),
38-
[pg_stat_statements](https://www.postgresql.org/docs/16/pgstatstatements.html),
37+
[pg_stat_statements](https://www.postgresql.org/docs/17/pgstatstatements.html),
3938
[pgextwlist](https://github.com/dimitri/pgextwlist),
4039
[pg_auth_mon](https://github.com/RafiaSabih/pg_auth_mon)
4140
* Incl. popular Postgres extensions such as
@@ -58,12 +57,12 @@ production for over five years.
5857

5958
| Release | Postgres versions | K8s versions | Golang |
6059
| :-------- | :---------------: | :---------------: | :-----: |
61-
| v1.11.* | 11 → 16 | 1.21 → 1.28 | 1.21.7 |
62-
| v1.10.* | 10 → 15 | 1.21 → 1.28 | 1.19.8 |
63-
| v1.9.0 | 10 → 15 | 1.21 → 1.28 | 1.18.9 |
64-
| v1.8.* | 9.5 → 14 | 1.20 → 1.24 | 1.17.4 |
65-
| v1.7.1 | 9.5 → 14 | 1.20 → 1.24 | 1.16.9 |
66-
60+
| v1.14.0 | 13 → 17 | 1.27+ | 1.23.4 |
61+
| v1.13.0 | 12 → 16 | 1.27+ | 1.22.5 |
62+
| v1.12.0 | 11 → 16 | 1.27+ | 1.22.3 |
63+
| v1.11.0 | 11 → 16 | 1.27+ | 1.21.7 |
64+
| v1.10.1 | 10 → 15 | 1.21+ | 1.19.8 |
65+
| v1.9.0 | 10 → 15 | 1.21+ | 1.18.9 |
6766

6867
## Getting started
6968

charts/postgres-operator-ui/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: postgres-operator-ui
3-
version: 1.11.0
4-
appVersion: 1.11.0
3+
version: 1.14.0
4+
appVersion: 1.14.0
55
home: https://github.com/zalando/postgres-operator
66
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
77
keywords:

charts/postgres-operator-ui/index.yaml

Lines changed: 31 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ apiVersion: v1
22
entries:
33
postgres-operator-ui:
44
- apiVersion: v2
5-
appVersion: 1.11.0
6-
created: "2024-03-14T17:12:46.692800586+01:00"
5+
appVersion: 1.14.0
6+
created: "2024-12-23T11:26:07.721761867+01:00"
77
description: Postgres Operator UI provides a graphical interface for a convenient
88
database-as-a-service user experience
9-
digest: a45f2284045c2a9a79750a36997386444f39b01ac722b17c84b431457577a3a2
9+
digest: e87ed898079a852957a67a4caf3fbd27b9098e413f5d961b7a771a6ae8b3e17c
1010
home: https://github.com/zalando/postgres-operator
1111
keywords:
1212
- postgres
@@ -22,14 +22,14 @@ entries:
2222
sources:
2323
- https://github.com/zalando/postgres-operator
2424
urls:
25-
- postgres-operator-ui-1.11.0.tgz
26-
version: 1.11.0
25+
- postgres-operator-ui-1.14.0.tgz
26+
version: 1.14.0
2727
- apiVersion: v2
28-
appVersion: 1.10.1
29-
created: "2024-03-14T17:12:46.691746076+01:00"
28+
appVersion: 1.13.0
29+
created: "2024-12-23T11:26:07.719409282+01:00"
3030
description: Postgres Operator UI provides a graphical interface for a convenient
3131
database-as-a-service user experience
32-
digest: 2e5e7a82aebee519ec57c6243eb8735124aa4585a3a19c66ffd69638fbeb11ce
32+
digest: e0444e516b50f82002d1a733527813c51759a627cefdd1005cea73659f824ea8
3333
home: https://github.com/zalando/postgres-operator
3434
keywords:
3535
- postgres
@@ -45,14 +45,14 @@ entries:
4545
sources:
4646
- https://github.com/zalando/postgres-operator
4747
urls:
48-
- postgres-operator-ui-1.10.1.tgz
49-
version: 1.10.1
48+
- postgres-operator-ui-1.13.0.tgz
49+
version: 1.13.0
5050
- apiVersion: v2
51-
appVersion: 1.10.0
52-
created: "2024-03-14T17:12:46.690807634+01:00"
51+
appVersion: 1.12.2
52+
created: "2024-12-23T11:26:07.717202918+01:00"
5353
description: Postgres Operator UI provides a graphical interface for a convenient
5454
database-as-a-service user experience
55-
digest: 47413650e3188539ae778a601998efa2c4f80b8aa16e3668a2fc7b72e014b605
55+
digest: cbcef400c23ccece27d97369ad629278265c013e0a45c0b7f33e7568a082fedd
5656
home: https://github.com/zalando/postgres-operator
5757
keywords:
5858
- postgres
@@ -68,14 +68,14 @@ entries:
6868
sources:
6969
- https://github.com/zalando/postgres-operator
7070
urls:
71-
- postgres-operator-ui-1.10.0.tgz
72-
version: 1.10.0
71+
- postgres-operator-ui-1.12.2.tgz
72+
version: 1.12.2
7373
- apiVersion: v2
74-
appVersion: 1.9.0
75-
created: "2024-03-14T17:12:46.696626932+01:00"
74+
appVersion: 1.11.0
75+
created: "2024-12-23T11:26:07.714792146+01:00"
7676
description: Postgres Operator UI provides a graphical interface for a convenient
7777
database-as-a-service user experience
78-
digest: df434af6c8b697fe0631017ecc25e3c79e125361ae6622347cea41a545153bdc
78+
digest: a45f2284045c2a9a79750a36997386444f39b01ac722b17c84b431457577a3a2
7979
home: https://github.com/zalando/postgres-operator
8080
keywords:
8181
- postgres
@@ -91,14 +91,14 @@ entries:
9191
sources:
9292
- https://github.com/zalando/postgres-operator
9393
urls:
94-
- postgres-operator-ui-1.9.0.tgz
95-
version: 1.9.0
94+
- postgres-operator-ui-1.11.0.tgz
95+
version: 1.11.0
9696
- apiVersion: v2
97-
appVersion: 1.8.2
98-
created: "2024-03-14T17:12:46.69565936+01:00"
97+
appVersion: 1.10.1
98+
created: "2024-12-23T11:26:07.712194397+01:00"
9999
description: Postgres Operator UI provides a graphical interface for a convenient
100100
database-as-a-service user experience
101-
digest: fbfc90fa8fd007a08a7c02e0ec9108bb8282cbb42b8c976d88f2193d6edff30c
101+
digest: 2e5e7a82aebee519ec57c6243eb8735124aa4585a3a19c66ffd69638fbeb11ce
102102
home: https://github.com/zalando/postgres-operator
103103
keywords:
104104
- postgres
@@ -114,37 +114,14 @@ entries:
114114
sources:
115115
- https://github.com/zalando/postgres-operator
116116
urls:
117-
- postgres-operator-ui-1.8.2.tgz
118-
version: 1.8.2
117+
- postgres-operator-ui-1.10.1.tgz
118+
version: 1.10.1
119119
- apiVersion: v2
120-
appVersion: 1.8.1
121-
created: "2024-03-14T17:12:46.694691362+01:00"
122-
description: Postgres Operator UI provides a graphical interface for a convenient
123-
database-as-a-service user experience
124-
digest: d26342e385ea51a0fbfbe23477999863e9489664ae803ea5c56da8897db84d24
125-
home: https://github.com/zalando/postgres-operator
126-
keywords:
127-
- postgres
128-
- operator
129-
- ui
130-
- cloud-native
131-
- patroni
132-
- spilo
133-
maintainers:
134-
135-
name: Zalando
136-
name: postgres-operator-ui
137-
sources:
138-
- https://github.com/zalando/postgres-operator
139-
urls:
140-
- postgres-operator-ui-1.8.1.tgz
141-
version: 1.8.1
142-
- apiVersion: v1
143-
appVersion: 1.8.0
144-
created: "2024-03-14T17:12:46.693750873+01:00"
120+
appVersion: 1.9.0
121+
created: "2024-12-23T11:26:07.723891496+01:00"
145122
description: Postgres Operator UI provides a graphical interface for a convenient
146123
database-as-a-service user experience
147-
digest: d4a7b40c23fd167841cc28342afdbd5ecc809181913a5c31061c83139187f148
124+
digest: df434af6c8b697fe0631017ecc25e3c79e125361ae6622347cea41a545153bdc
148125
home: https://github.com/zalando/postgres-operator
149126
keywords:
150127
- postgres
@@ -160,6 +137,6 @@ entries:
160137
sources:
161138
- https://github.com/zalando/postgres-operator
162139
urls:
163-
- postgres-operator-ui-1.8.0.tgz
164-
version: 1.8.0
165-
generated: "2024-03-14T17:12:46.689654615+01:00"
140+
- postgres-operator-ui-1.9.0.tgz
141+
version: 1.9.0
142+
generated: "2024-12-23T11:26:07.709192608+01:00"
-4.88 KB
Binary file not shown.

0 commit comments

Comments
 (0)