carvel-dev / carvel-dev/secretgen-controller

Add a CLI to create objects supported by SecretGen controller

Open
#540 2 comments 1 reaction 0 assignees View on GitHub
carvel-accepted enhancement 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**

YAML is hard to remember. Every time I want to create an object of this controller, I have to look at something I've done before, or come here to read the docs.

**Describe the solution you'd like**

A CLI, similar to `kctrl` (much Kudos for `kctrl` 👏 ), that allows to create some, or all, of the objects supported by this controller. As an example, I would like to add a `SecretExport` by doing:

```console
secgenctl secretexport create my-secret-export -n my-super-secret-namespace --to-namespaces '*'
```

This is an example, the idea is to support create/list/get/delete operations using this CLI for all objects.

**Anything else you would like to add:**

To my mind is a lot easier to remember CLI commands than YAML structures. A CLI can provide a `--help` option, and that's faster than opening a browser and navigating to the docs of this controller.

I'll be happy to contribute a PR!

---
Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you would like to work on this issue.

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.