We're updating the issue view to help you get more done. 

Restoring snapshot with two secrets with the same key in different tenants overwrite one of them

Description

When restoring a 4.3.x snapshot on a 4.4 manager, with 2 secrets in different tenants, having the same key name, one of them will be overwritten.

Steps to Reproduce

Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------

Steps to reproduce:
------------------
1. Create 2 tenants on a 4.3.x manager
2. On each one create a secret with the same key and different value like k8s-ip: 10.10.10.10 on tenant_A and k8s-ip: 20.20.20.20 on tenant_B.
3. Create a snapshot
4. Restore the snapshot on a 4.4 manager
5. run `cfy secrets get k8s-ip -t tenant_A ` And `cfy secrets get k8s-ip -t tenant_B` the value will be the same.

Expected result:
---------------

Actual result:
-------------

Why Propose Close?

None

Status

Assignee

Yariv Hamamy

Reporter

Jonathan Abramsohn

Severity

High

Target Version

4.5

Premium Only

no

Found In Version

4.4

QA Owner

None

Bug Type

unknown

Customer Encountered

Yes

Customer Name

c478

Release Notes

yes

Priority

None

Sprint

None

Priority

Unprioritized