provide container name for copying files in the dump

Description

For the kubectl cp , container name is not provided which means that any container can be picked up and this throws error.
For example in pxc , pmm-client can be picked up

Exact container name need to be provided for pxc,PG,PSMDB

Environment

None

Activity

Show:

Sveta Smirnova November 16, 2023 at 9:48 PM

Actually operator version does not matter. If PMM is installed, default container is pmm-client, not logs.

Sveta Smirnova November 13, 2023 at 4:10 PM

Suggested fix: add "-c logs" to kubectl call in the function getIndividualFiles.

Sveta Smirnova November 13, 2023 at 4:09 PM

Repeatable instructions:

Sveta Smirnova November 13, 2023 at 4:09 PM
Edited

Not repeatable with earlier versions of the operators. Operator 1.13 is needed for reproducing this.

Done

Details

Assignee

Reporter

Priority

Affects versions

Fix versions

Needs QA

Yes

Smart Checklist

Created November 13, 2023 at 4:08 PM
Updated February 29, 2024 at 8:35 PM
Resolved December 6, 2023 at 1:34 AM