bitnami / bitnami/sealed-secrets

Add kyaml as supported output format for kubeseal

Open
#2,040 4 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
Go
Stars
9.3k
Forks
776
Avg merge
1d 13h
Merged PRs (30d)
30

Description

**Which component**: `kubeseal`

**Is your feature request related to a problem? Please describe.**
Kubernetes 1.37 offers stable support for `kyaml` output of resources; see also https://kubernetes.io/blog/2026/08/26/kubernetes-v1-37-release/#kyaml.

As kyaml is a subset of yaml, it can be used as a full replacement for manifests, with the added benefit of being less ambiguous than yaml, hence potentially preventing issues.

As such it would be nice to allow kyaml output from `kubeseal`, to allow one to consistently use this for resources in a Kubernetes project and subsequently enforce this with e.g. CI linters.

**Describe the solution you'd like**
Allow passing `--format kyaml` to `kubeseal` to have the resources being output in the kyaml format.

**Describe alternatives you've considered**
n/a

**Additional context**
https://kubernetes.io/blog/2026/08/11/how-to-pretty-print-kubernetes-yaml-as-kyaml/

Contributor guide

Open the contributing guide

Research direction

Start with the kubeseal CLI and inspect how the --format option selects output formats. Run kubeseal --help and the existing CLI checks for format selection, then verify that --format kyaml emits kyaml resources while existing formats remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.