{"id":39001920,"url":"https://github.com/latchmihay/k8s-yaml-splitter","last_synced_at":"2026-01-17T17:12:42.448Z","repository":{"id":85930519,"uuid":"158033984","full_name":"latchmihay/k8s-yaml-splitter","owner":"latchmihay","description":"Combined Kubernetes YAML Splitter","archived":false,"fork":false,"pushed_at":"2021-11-22T19:35:37.000Z","size":28,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T16:46:04.691Z","etag":null,"topics":["k8s","k8s-yaml-splitter","kubernetes","kustomize","split","splitter","yaml"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/latchmihay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-17T23:32:35.000Z","updated_at":"2023-10-20T10:04:14.000Z","dependencies_parsed_at":"2023-05-03T15:33:57.244Z","dependency_job_id":null,"html_url":"https://github.com/latchmihay/k8s-yaml-splitter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/latchmihay/k8s-yaml-splitter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latchmihay%2Fk8s-yaml-splitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latchmihay%2Fk8s-yaml-splitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latchmihay%2Fk8s-yaml-splitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latchmihay%2Fk8s-yaml-splitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/latchmihay","download_url":"https://codeload.github.com/latchmihay/k8s-yaml-splitter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/latchmihay%2Fk8s-yaml-splitter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["k8s","k8s-yaml-splitter","kubernetes","kustomize","split","splitter","yaml"],"created_at":"2026-01-17T17:12:41.729Z","updated_at":"2026-01-17T17:12:42.415Z","avatar_url":"https://github.com/latchmihay.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k8s-yaml-splitter\nIt takes a combined kubernetes yaml config and splits it into multiple files in a folder of your choosing\n\n# Install\n```console\n# Go 1.17+\ngo install github.com/latchmihay/k8s-yaml-splitter@latest\n# everything before 1.17\ngo get github.com/latchmihay/k8s-yaml-splitter\n```\n\n# Usage\n\n```console\nUsage: ./k8s-yaml-splitter /path/to/combined-k8s.yaml /path/to/output/dir\nUsage Dry Run: ./k8s-yaml-splitter /path/to/combined-k8s.yaml /path/to/output/dir -d\n\n# Piped in\ncat example/combined-k8s.yaml | ./k8s-yaml-splitter\n```\n\n# Example:\n#### Dry Run:\n```console\n# ./k8s-yaml-splitter example/combined-k8s.yaml /tmp/k8s-split/ -d\nFound! type: Secret | apiVersion: v1 | name: grafana | namespace: istio-system\n==\u003e DryRun: Writing /tmp/k8s-split/Secret-grafana.yaml\nFound! type: Secret | apiVersion: v1 | name: kiali | namespace: istio-system\n==\u003e DryRun: Writing /tmp/k8s-split/Secret-kiali.yaml\nFound! type: ConfigMap | apiVersion: v1 | name: istio-galley-configuration | namespace: istio-system\n==\u003e DryRun: Writing /tmp/k8s-split/ConfigMap-istio-galley-configuration.yaml\n```\n\n#### Normal Run:\n```console\n# ./k8s-yaml-splitter example/combined-k8s.yaml /tmp/k8s-split/\nFound! type: Secret | apiVersion: v1 | name: grafana | namespace: istio-system\n* Writing /tmp/k8s-split/Secret-grafana.yaml\n* Wrote 250 bytes to /tmp/k8s-split/Secret-grafana.yaml\nFound! type: Secret | apiVersion: v1 | name: kiali | namespace: istio-system\n* Writing /tmp/k8s-split/Secret-kiali.yaml\n* Wrote 242 bytes to /tmp/k8s-split/Secret-kiali.yaml\nFound! type: ConfigMap | apiVersion: v1 | name: istio-galley-configuration | namespace: istio-system\n* Writing /tmp/k8s-split/ConfigMap-istio-galley-configuration.yaml\n* Wrote 3308 bytes to /tmp/k8s-split/ConfigMap-istio-galley-configuration.yaml\n```\n\n#### Piped in \n\u003e will create a `.k8s-global-obejcts` folder in your current directory and split the yamls in there\n\n```console\n# cat example/combined-k8s.yaml | ./k8s-yaml-splitter\nFound! type: Secret | apiVersion: v1 | name: grafana | namespace: istio-system\n* Writing /Users/madcricket/go/src/github.com/latchmihay/k8s-yaml-splitter/.k8s-yaml-splitter/Secret-grafana.yaml\n* Wrote 250 bytes to /Users/madcricket/go/src/github.com/latchmihay/k8s-yaml-splitter/.k8s-yaml-splitter/Secret-grafana.yaml\nFound! type: Secret | apiVersion: v1 | name: kiali | namespace: istio-system\n* Writing /Users/madcricket/go/src/github.com/latchmihay/k8s-yaml-splitter/.k8s-yaml-splitter/Secret-kiali.yaml\n* Wrote 242 bytes to /Users/madcricket/go/src/github.com/latchmihay/k8s-yaml-splitter/.k8s-yaml-splitter/Secret-kiali.yaml\nFound! type: ConfigMap | apiVersion: v1 | name: istio-galley-configuration | namespace: istio-system\n* Writing /Users/madcricket/go/src/github.com/latchmihay/k8s-yaml-splitter/.k8s-yaml-splitter/ConfigMap-istio-galley-configuration.yaml\n* Wrote 3308 bytes to /Users/madcricket/go/src/github.com/latchmihay/k8s-yaml-splitter/.k8s-yaml-splitter/ConfigMap-istio-galley-configuration.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flatchmihay%2Fk8s-yaml-splitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flatchmihay%2Fk8s-yaml-splitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flatchmihay%2Fk8s-yaml-splitter/lists"}