Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft for #5713 #113

Closed
wants to merge 10 commits into from
Closed

Draft for #5713 #113

wants to merge 10 commits into from

Conversation

NiccoloFei
Copy link

No description provided.

Copy link

github-actions bot commented Oct 3, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@NiccoloFei
Copy link
Author

/test

Copy link

github-actions bot commented Oct 3, 2024

@NiccoloFei, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11166907710

@NiccoloFei
Copy link
Author

/test

Copy link

github-actions bot commented Oct 4, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

github-actions bot commented Oct 4, 2024

@NiccoloFei, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11179847299

Copy link

github-actions bot commented Oct 4, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

3 similar comments
Copy link

github-actions bot commented Oct 4, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

github-actions bot commented Oct 4, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

github-actions bot commented Oct 4, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@NiccoloFei
Copy link
Author

/test

Copy link

github-actions bot commented Oct 4, 2024

@NiccoloFei, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11184162588

Copy link

github-actions bot commented Oct 7, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

github-actions bot commented Oct 7, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@NiccoloFei
Copy link
Author

/test

Copy link

github-actions bot commented Oct 7, 2024

@NiccoloFei, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11213657734

Copy link

github-actions bot commented Oct 7, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@NiccoloFei
Copy link
Author

/test

Copy link

github-actions bot commented Oct 7, 2024

@NiccoloFei, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11221174554

Copy link

github-actions bot commented Oct 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

1 similar comment
Copy link

github-actions bot commented Oct 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@NiccoloFei
Copy link
Author

/test

Copy link

github-actions bot commented Oct 8, 2024

@NiccoloFei, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11232957647

Copy link

github-actions bot commented Oct 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

github-actions bot commented Oct 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

github-actions bot commented Oct 8, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

github-actions bot commented Oct 9, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

github-actions bot commented Oct 9, 2024

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

renovate bot and others added 10 commits October 17, 2024 10:12
…g#5737)

https://github.com/prometheus/client_golang `v1.20.4` -> `v1.20.5`
https://github.com/stern/stern `v1.30.0` -> `v1.31.0`
golang.org/x/term `v0.24.0` -> `v0.25.0`
github.com/fatih/colo `v1.16.0` -> `v1.17.0`
github.com/google/btree `v1.1.2` -> `v1.1.3`
go.starlark.net `v0.0.0-20240411212711-9b43f0afd521` -> `v0.0.0-20240925182052-1207426daebd
golang.org/x/crypto `v0.27.0` -> `v0.28.0`
golang.org/x/net `v0.29.0` -> `v0.30.0`
golang.org/x/text`v0.18.0` -> `v0.19.0`
golang.org/x/time `v0.6.0` -> `v0.7.0`
sigs.k8s.io/kustomize/api `v0.17.2` -> `v0.17.3`
sigs.k8s.io/kustomize/kyaml `v0.17.1` -> `v0.17.2`
This commit resolves potential timeouts during namespace deletion when a
PostgreSQL cluster still runs inside the namespace. It ensures that all
pods within the namespace are deleted with a 1-second grace period
immediately after the namespace deletion request, improving cleanup
speed and reliability.

Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Co-authored-by: Jaime Silvela <[email protected]>
Add the ENABLE_APISERVER_AUDIT env variable to the kind e2e scripts. If
set to true, kind will configure auditing for postgresql.cnpg.io
resources and mount a local directory to write the audit logs on.

Closes cloudnative-pg#5873

Signed-off-by: Francesco Canovai <[email protected]>
Since the versions can and may end in `0` we should quote the version numbers to
avoid YAML ignoring the `0` at the end like in `1.30` where the `0` is ignored and not
showed because of the missing quotes

Closes cloudnative-pg#5892

Signed-off-by: Marco Nenciarini <[email protected]>
Closes: cloudnative-pg#5713

Refactors:

- Unify AssertCreateTestData,AssertCreateTestDataWithDatabaseName,AssertCreateTestDataInTablespace
- Unify insertRecordIntoTable,insertRecordIntoTableWithDatabaseName
- Unify AssertDataExpectedCount,AssertDataExpectedCountWithDatabaseName
- Remove ExecCommandWithPsqlClient given that we previously removed the psqlCLient
- Remove RunQueryFromPod, which is not needed anymore since now we can connect directly using port-forwarding
- Convert ExecCommand usages that were connecting locally to run a query
  to instead use ExecQueryInInstancePod
- Convert EventuallyExecCommand usages that were connecting locally to run a query
  to instead use EventuallyExecQueryInInstancePod
- Add RunExecOverForward which allows running queries that don't return any rows via port-forwarding

Fixes:

- Client should close the connection when it is done. This improves timings on
  switchover/failover because we rely on smartShutdown by default

E2E fixes:

- Drain with PDB disabled: actually wait for the Cluster to be back
- Replica Mode: synchronize secret value in the Replica Cluster before connecting
- Configuration update: simplify pg_ident assertion

Signed-off-by: Niccolò Fei <[email protected]>
Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@NiccoloFei NiccoloFei closed this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants