Commit Graph
1263 Commits
Author SHA1 Message Date
Pavan 7d620b0ccc Update supported kubernetes versions in version matrix (#2402)
In v1.10.0 we we have started using policy API v1 for PDBs and policy API v1  is available from Kubernetes version 1.21. So, updating the kubernetes supported  version in matrix chart of v1.9, v1.10 to k8s 1.21+
2023-08-25 16:04:13 +02:00
idanovindaandinovindasari 2204c2f992 [UI] Bump python libraries flask, requests and werkzeug (#2404)
Co-authored-by: inovindasari <ida.novindasari@zalando.de>
2023-08-25 15:36:38 +02:00
Felix Kunde 334ceab18e log error why ebs volume modifying fails (#2395) 2023-08-18 13:18:35 +02:00
Jan Jansen 7372e91956 check pg version (#2342)
Fixes #1678

Signed-off-by: Jan Jansen <jan.jansen@gdata.de>
2023-08-10 18:06:17 +02:00
Eduardo 5b310cea31 [#2119] fix imagePullSecrets indentation (#2371) 2023-08-01 11:02:06 +02:00
weeix 14ba4e107c Update the link to a post (#2360)
The link to Daniel Westermann's post "Getting started with the Zalando Operator for PostgreSQL" is outdated. This commit updates the link.
2023-08-01 11:01:43 +02:00
yoshihikoueno 7e98240b51 Fix wrong default value description (#2382) 2023-07-28 09:39:59 +02:00
Jociele PadilhaandJociele Padilha 04f18b9716 fix extraction of EBS volume id when there's no region prefix (#2351)
* add prefix /vol- on when EBS doesn't have
* add new unit test for to get the volumeID
* add a prefix to search in the string of volumeID

---------

Co-authored-by: Jociele Padilha <jociele.padilha@zalando.de>
2023-06-12 15:18:19 +02:00
Felix Kunde af084a5a65 bump go to 1.19.8 everywhere (#2300) v1.10.0 2023-04-21 16:53:06 +02:00
Polina Bungina 7622d14b08 Remove scm-source.json creation (#2301) 2023-04-21 16:45:15 +02:00
Felix Kunde c580e509d3 Bump v1.10.0 (#2299)
* bump to v1.9.1
* update year in license and add links to more blog posts
* bump go to 1.19 and update dependencies
* go for 1.10.0 instead of 1.9.1
* fix unit test - removed obsolete ClusterName field
* fix DNS template in UI helm chart deployment file
2023-04-20 18:21:43 +02:00
Felix Kunde 611e48c51e rename failsafe_mode option in opconfig CRD (#2298) 2023-04-20 14:28:24 +02:00
Nick DoumaandNick Douma 3f4e44de82 Interpret KUBERNETES_SERVICE_HOST as hostname if not parsed as IP address (#2285)
* Interpret KUBERNETES_SERVICE_HOST as hostname if not parsed as IP address

This allows correctly connecting to the Kubernetes API when the service host
is set as a hostname. This is at least the case on gardener.cloud . I'm
running the patched version in production.

Related to #2047 which describes the same problem I had.

* Reindent logical-backup/dump.sh

---------

Co-authored-by: Nick Douma <nick.douma@cyso.com>
2023-04-19 15:42:27 +02:00
Dr. Jan-Philip Gehrcke ec701f6d30 run_operator_locally.sh: more retrying, debuggability (#2218)
actually retry kubectl port-forward
and better messages
2023-04-19 12:05:36 +02:00
drivebyer 1e64ae788e Fix some errors be ignored (#2290)
Signed-off-by: drivebyer <yang.wu@daocloud.io>
2023-04-17 17:25:07 +02:00
Polina Bungina a9c6d46f7d Add pipeline to publish ghcr multi-arch image (#2268)
Refactor operator image build process
Add a pipeline to build and publish arm64/amd64 image in ghcr on every
pushed tag
2023-04-17 15:28:27 +02:00
drivebyer fc86c44ec3 Fix potential panic (#2289)
Signed-off-by: drivebyer <yang.wu@daocloud.io>
2023-04-17 14:34:18 +02:00
Felix Kunde 0e7beb5fe5 refactor pooler tls support and set pooler pod security context (#2255)
* bump pooler image
* set pooler pod security context
* use hard coded RunAsUser 100 and RunAsGroup 101 for pooler pod
* unify generation of TLS secret mounts
* extend documentation on tls support
* add unit test for testing TLS support for pooler
* add e2e test for tls support
2023-04-17 11:38:56 +02:00
John Flynn Matthew 87b7ac0806 Secret name incorrect, fixed (#2282) 2023-04-13 15:16:15 +02:00
genofire 40db1f6782 fix: make map in generateUserSecrets with correct size (#2273) 2023-04-11 11:55:28 +02:00
Felix Kunde 1105228d3a in sync mode select only syncStandby as switchover candidate (#2278)
* in sync mode select only syncStandby as swicthover candidate
* do not exit retry with err
* unit test: use error from reading byte stream twice
2023-04-06 12:04:55 +02:00
Polina Bungina 0ac5f58fa9 Switch gh workflows to go 1.18.9 (#2267) 2023-03-23 16:08:37 +01:00
Jairo Llopis fd0092ebe9 fix: PG 15 backups working by default (#2246)
In 30b612489a this update was forgotten. It is needed for logical backups of postgres 15 clusters, as seen in https://github.com/zalando/postgres-operator/issues/1945#issuecomment-1425060560.

Fix https://github.com/zalando/postgres-operator/issues/1945.

@moduon MT-1075
2023-03-20 17:39:49 +01:00
Philip Haberkern ac8ace2c24 Updated outdated failsafe_mode documentation (#2266) 2023-03-20 17:39:09 +01:00
Felix Kunde 779288e454 update kubectl-pg dependencies (#2263) 2023-03-20 17:38:54 +01:00
dependabot[bot] 421017b1cc Bump werkzeug from 2.2.2 to 2.2.3 in /ui (#2224)
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.2 to 2.2.3.
- [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/2.2.2...2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 12:16:32 +01:00
dependabot[bot] 0c6ffff320 Bump golang.org/x/net from 0.1.0 to 0.7.0 (#2228)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 12:15:33 +01:00
Felix Kunde 80fee5bda4 continue syncing databases and extensions on err (#2262) 2023-03-14 10:58:54 +01:00
Pavel Ven Gulbin 6953f72bee fix to pooler TLS support (#2219)
* fix to pooler TLS support, security context fsGroup added (#2216)
* add environment variable of CA cert path in pooler pod template
* additional logic for custom CA secrets and mount path
* fix ca file name
2023-03-07 16:20:28 +01:00
Felix Kunde d504aeba6a Provide support matrix with Pg and K8s version (#2232) 2023-03-07 16:14:14 +01:00
Felix Kunde 9973262b83 sync stateful set when syncing streams during ADD event (#2245) 2023-02-28 09:14:22 +01:00
Felix Kunde 645fcc01a2 remove debug log for generated env vars of logical backup (#2233) 2023-02-23 15:16:16 +01:00
Felix Kunde e6fb57a6bd add c.replicationSlots on sync (#2238) 2023-02-23 13:19:35 +01:00
Simon Morris 8356ebf097 Adds APP_URL as base tag href to enable loading via ui via ingress routes (#2195) 2023-02-15 15:49:23 +01:00
dependabot[bot] 42e005f041 Bump github.com/emicklei/go-restful (#2215)
Bumps [github.com/emicklei/go-restful](https://github.com/emicklei/go-restful) from 2.9.5+incompatible to 2.16.0+incompatible.
- [Release notes](https://github.com/emicklei/go-restful/releases)
- [Changelog](https://github.com/emicklei/go-restful/blob/v3/CHANGES.md)
- [Commits](https://github.com/emicklei/go-restful/compare/v2.9.5...v2.16.0)

---
updated-dependencies:
- dependency-name: github.com/emicklei/go-restful
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 14:12:58 +01:00
Jamie Hitchen 0c7e2dac0e chore(docs): add workload identity authentication to Google Cloud Platform backup setup (#2200) 2023-02-10 17:21:47 +01:00
yoshihikoueno ab25c63317 Fixed a typo bypassurl -> bypassrls (#2204) 2023-02-10 17:21:27 +01:00
Felix Kunde 1d5bc2396a minor fix to pooler TLS support (#2216) 2023-02-10 17:20:59 +01:00
idanovinda 933b45aba0 show pooler dns when success creating pooler (#2202) 2023-02-02 16:46:45 +01:00
Felix Kunde 30b612489a bump to v1.9.0 (#2177)
* bump to v1.9.0
* some minor UI config updates
* bump UI package.json to 1.9.0, too
v1.9.0
2023-01-30 10:15:16 +01:00
Felix Kunde 7a90fbcb00 fix sync of stream slots (#2194) 2023-01-27 18:03:37 +01:00
idanovinda d5251c5fc8 Update UI library dependencies (#2191)
* Update UI library dependencies
* change to node v14
* update js-yaml load and dump function
2023-01-27 12:47:30 +01:00
Felix Kunde c9cada66c7 add pooler suffix to DNS annotation of pooler LoadBalancer service (#2188)
* add pooler suffix to DNS annotation of pooler LoadBalancer service
* need generatePoolerServiceAnnotations function
2023-01-27 12:07:48 +01:00
Felix Kunde 7887ebbbce set wal_level config not on empty parameters map (#2189)
* set wal_level config not on empty parameters map
* UPDATE event must trigger statefulSet sync when streams are added
2023-01-26 09:43:03 +01:00
Felix Kunde b9165190e1 set wal_level for streams in statefulSet sync (#2187)
* set wal_level for streams in statefulSet sync
2023-01-25 17:06:31 +01:00
Felix Kundeandidanovinda 4741b3f734 copy rolconfig during password rotation (#2183)
* copy rolconfig during password rotation

Co-authored-by: idanovinda <idanovinda@gmail.com>
2023-01-25 10:48:23 +01:00
idanovinda 63c9f916a6 fix default cpu memory (#2178) 2023-01-17 17:18:08 +01:00
Felix Kunde a4f95e97e0 do not rotate secrets for standby clusters (#2175) 2023-01-17 12:58:14 +01:00
Felix Kunde 28cd2f188a better backwards compatibility with old DNS name format for LBs (#2171)
* better backwards compatibility with legacy DNS name format for LBs
* improve docs on DNS string
2023-01-17 10:06:11 +01:00
Dmitry Volodin ce1fee8586 Ineffectual assignment of the envVars for connection pooler (#2165)
* Ineffectual assignment of the envVars for connection pooler
* Fixed codegen in case of the GOPATH is specified explicitly
2023-01-12 11:38:54 +01:00