bitnami / bitnami/sealed-secrets

Less flags for --raw

Open
#384 6 comments 0 reactions 0 assignees View on GitHub
backlog enhancement
Dominant language
Go
Stars
9.3k
Forks
776
Avg merge
1d 13h
Merged PRs (30d)
30

Description

Objective:

Simplify the use of `kubeseal --raw`, especially when used to implement editor extensions.

Proposal:

Add a "context" flag to the "raw" command, so that kubeseal can figure out the `name`, `namespace` and `scope` parameters from the metadata section of an existing file (can be either a Secret or a SealedSecret object)

```
kubeseal --raw --raw-context=existing-sealed-secrets.yaml --from-file=data.txt
```

TBD: find a better name for `--raw-context`

Contributor guide

Open the contributing guide

Research direction

Start by tracing the kubeseal raw command and how it currently receives name, namespace, and scope. Then inspect the metadata handling for Secret and SealedSecret inputs. Done means --raw accepts the proposed context file, derives those parameters, and still supports --from-file=data.txt.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.