Skip to content

another-novelty/kubeconf-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Merge Kubeconfigs (browser)

A tiny, client-side web app that merges multiple Kubernetes kubeconfig YAML files entirely in the browser — no server required.

Quick start

  • Open index.html in your browser (double-click the file) or serve the folder with any static file server.
  • Use the file picker to select one or more kubeconfig files and/or paste one or more kubeconfig YAML documents into the textarea (multiple documents can be separated with ---).
  • Click Merge. The merged kubeconfig will appear in the output area and can be downloaded.

What it does

  • Merges clusters, users, and contexts by name. If the same name appears in later inputs, that entry overwrites earlier ones.
  • Files selected via the file input are processed first (in selection order). Pasted input is treated as later and therefore overrides file entries when names conflict.
  • apiVersion, kind, preferences, extensions, and current-context are taken from later configs (preferences and extensions are shallow-merged).

Security & privacy

All processing happens locally in your browser — nothing is uploaded to any server. Treat kubeconfigs as sensitive and avoid sharing them.

Dependencies

  • js-yaml is included from a CDN in index.html for YAML parsing and serialization.

License

MIT

Disclaimer

This was vibecoded in like 2 minutes. Do not use this in production.

About

Merges multiple kubeconfigs - completely in the browser!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages