stash icon indicating copy to clipboard operation
stash copied to clipboard

BackupConfiguration docs lacks info about reference to Repository in another namespace

Open elcomtik opened this issue 2 years ago • 2 comments

I read blog and current docs and didn't find info how to reference to Repository in another namespace.

It looks like it is not necessary to be defined. However, if the Repository is in another namespace, then BackupConfiguration will be in the notReady phase with RepositoryNotAvailable message. I found out that by trial & error, it can be defined by spec.repository.namespace key, so I think it should be added to docs.

elcomtik avatar Aug 02 '22 08:08 elcomtik

Check this doc: https://stash.run/docs/v2022.07.09/guides/managed-backup/dedicated-storage-namespace/

hossainemruz avatar Aug 02 '22 09:08 hossainemruz

I've missed that guide. I'll read it and check if there's anything else I've missed.

Still reference docs for BackupConfiguration should contain this.

elcomtik avatar Aug 02 '22 10:08 elcomtik

I was also looking for this and couldn't find it anywhere!

Indeed, the docs explain about spec.repository.name and I just randomly decided to try spec.repository.namespace which worked. The docs are otherwise excellent and nicely specific, so the omission of spec.repository.namespace was quite a surprise :-)

sgielen avatar Sep 19 '22 18:09 sgielen