kyma-project / cloud-manager

Apache License 2.0
3 stars 14 forks source link

GCP NFS backup should have a unique name to prevent conflict between namespaces and SKRs #462

Closed abalaie closed 2 months ago

abalaie commented 2 months ago

Description

Right now, name of the GcpNfsVolumeBackup is used for the Filestore backup name. This has several issues:

  1. If there are multiple namespaces and they have GcpNfsVolumeBackup with the same name, they will conflict.
  2. If we have several SKRs on the same GCP project, if the GcpNfsVolumeBackup names are the same, they will conflict. This can happen in dev/staging env where we have multiple SKRs on the same project.

Expected result

Actual result I expect the name of the Filestore backup to be autogenerated with some prefix + uuid, the same way that we create Filestore names.

Steps to reproduce

Troubleshooting