carvel-dev / carvel-dev/secretgen-controller

Allow secret exports to filter the exportable fields

Open
#36 4 comments 0 reactions 0 assignees View on GitHub
carvel-accepted discussion enhancement priority/unprioritized-backlog
Dominant language
Go
Stars
201
Forks
38
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem/challenge you have**
I would like to export the ca.crt and tls.crt of a `kubernetes.io/tls` secret without exporting the private tls.key (or more generally, only export the public portion of asymmetric cryptography secrets, or an arbitrary subset of Opaque secrets).

**Describe the solution you'd like**
New optional fields in the SecretExport.spec (e.g. `exportField`, `exportFields`) to specify which portions of a secret to offer for export.

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.