carvel-dev / carvel-dev/secretgen-controller

Add SecretRequest.spec.fromName to allow renaming on import

Open
#7 4 comments 6 reactions 0 assignees View on GitHub
discussion enhancement good first issue priority/awaiting-more-evidence
Dominant language
Go
Stars
201
Forks
38
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.