Commit Graph

1288 Commits

Author SHA1 Message Date
Felix Kunde 43bbe615d8 Merge branch 'master' of https://github.com/silenium-dev/postgres-operator into silenium-dev-master 2023-11-16 17:03:28 +01:00
dependabot[bot] 409e4c7834
Bump golang.org/x/net from 0.9.0 to 0.17.0 (#2442)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.17.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-10-17 18:27:10 +02:00
Felix Kunde f41c14f468
improve additional teams lookup (#2445)
* improve additional teams lookup

---------

Co-authored-by: Jan Mussler <janm81@gmail.com>
2023-10-16 16:48:19 +02:00
Nikola Markovic 8ae769a567
Improve appearance of Readme image in github dark mode (#2431) 2023-10-16 11:54:51 +02:00
Ida Novindasari 62f04d6b6d
Migrate cdp overlay to use cdp runtime (#2416)
* update cdp overlay to use cdp runtime
* remove e2e tests from cdp pipeline because of a docker in docker problem

---------

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2023-10-16 10:40:34 +02:00
Silas Della Contrada 3e7ffa1edc
Add tests for hugepages not being set on container if not requested in custom resource 2023-10-14 15:10:31 +02:00
Silas 1bdc7c7f03
Add link to kubernetes docs on hugepages 2023-10-14 15:05:18 +02:00
Felix Kunde dc872abb51
support new stream fields in CRD (#2427) 2023-09-20 11:57:49 +02:00
Felix Kunde b1fca41dd0
add info on secret name for prepared users (#2425) 2023-09-19 21:22:11 +02:00
Felix Kunde e03fdaaa51
add support for recovery section in event streams (#2421) 2023-09-19 17:15:50 +02:00
Ida Novindasari 102a22e486
generate deepcopy to show new pvc data type (#2420) 2023-09-15 17:06:13 +02:00
Felix Kunde 8fc4b9ba5a
on PVC when_scaled:retain check pod count, too (#2415)
* on PVC when_scaled:retain check pod count and wait for replica label
2023-09-12 13:50:58 +02:00
Ida Novindasari 36389b27bc
Enable specifying PVC retention policy for auto deletion (#2343)
* Enable specifying PVC retention policy for auto deletion
* enable StatefulSetAutoDeletePVC in featureGates
* skip node affinity test
2023-09-08 13:17:37 +02:00
Felix Kunde 552bd26c0f
bump to v1.10.1 (#2410)
* bump to v1.10.1
2023-09-07 22:46:26 +02:00
Thinking Chen 781d17b85c
Add service account name in connection pooler (#2352) 2023-09-04 16:26:21 +02:00
Felix Kunde eb0d55ea49
[UI] revert index.html base url and provide USE_AWS_INSTANCE_PROFILE example (#2403)
* revert index.html base url and provide USE_AWS_INSTANCE_PROFILE example
2023-09-04 16:25:53 +02:00
Trung Minh Lai 28c27efe43
Handle retry connect to Postgres when ping return EOF error. (#2339)
* Handle retry connect to Postgres when ping return EOF error.
* Update pkg/cluster/database.go

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>

---------

Co-authored-by: Trung Minh Lai <trung.lai@hitachivantara.com>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2023-08-25 17:53:18 +02:00
wasap ccc74ae947
Update complete-postgres-manifest.yaml (#2324)
* Update complete-postgres-manifest.yaml

add maxDBConnections settings to connectionPooler

* Update manifests/complete-postgres-manifest.yaml

Lets use more moderate number here

---------

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2023-08-25 16:04:43 +02:00
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
idanovinda 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
Silas Della Contrada 59e777ad1d Cleanup diff for docs 2023-06-26 14:27:57 +02:00
Jociele 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
Silas Della Contrada 5bb950a1b7 Add docs for hugepages support 2023-05-04 13:43:38 +02:00
Silas Della Contrada 9ccc78af82 Remove additional fields from minimal-postgres-manifest 2023-05-04 13:28:32 +02:00
Silas Della Contrada 1643d10245 Add tests for hugepages resource requests/limits on sidecars 2023-05-04 10:01:53 +02:00
Silas Della Contrada 96c784ec79 Add tests for hugepages resource requests/limits 2023-05-04 09:56:52 +02:00
Silas Della Contrada a5387a1e66 Fix typo 2023-04-30 12:01:44 +02:00
Silas Della Contrada 33a70410ba Add hugepages-2Mi and 1Gi to ResourceDescription type and crd (#1549, #1788) 2023-04-28 12:27:52 +02:00
Felix Kunde af084a5a65
bump go to 1.19.8 everywhere (#2300) 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 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