secretgen-controller icon indicating copy to clipboard operation
secretgen-controller copied to clipboard

Add SecretRequest.spec.fromName to allow renaming on import

Open ron1 opened this issue 3 years ago • 4 comments

Describe the problem/challenge you have I need to rename secret when importing it into a new namespace.

Describe the solution you'd like Add field SecretRequest.spec.fromName which allows SecretRequest.name and SecretRequest.spec.fromName to be different.

Anything else you would like to add: This is needed for scenario where static secrets exist in a common source namespace and have target namespaces embedded in their names. When these secrets are imported into their target namespaces the target names should be stripped.

ron1 avatar Jun 12 '21 04:06 ron1

@cppforlife any thoughts on tagging this as "accepted" meaning we would merge it if somebody does it?

joe-kimmel-vmw avatar Dec 22 '21 20:12 joe-kimmel-vmw

Hey folks, just to follow up, are there concrete things blocking something like this being done? Or is it just waiting for someone to swoop in and do this?

gmrodgers avatar Nov 14 '22 21:11 gmrodgers

I can't see anything being a blocker for this. WDTY @cppforlife ?

We just don't have the bandwidth to pick it up right now.

neil-hickey avatar Nov 14 '22 22:11 neil-hickey

Or is it just waiting for someone to swoop in and do this?

yup. im also not sure how complicated this would be, so somebody have to do some thinking (in a PR form or comment).

cppforlife avatar Nov 29 '22 00:11 cppforlife