{"id":13507013,"url":"https://github.com/vmware-archive/kubectl-import","last_synced_at":"2025-03-30T07:31:49.995Z","repository":{"id":55491962,"uuid":"153259035","full_name":"vmware-archive/kubectl-import","owner":"vmware-archive","description":"Tool for importing and merging kubectl configuration files","archived":true,"fork":false,"pushed_at":"2022-03-24T15:06:24.000Z","size":5,"stargazers_count":22,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-16T15:06:09.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmware-archive.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":"CODEOWNERS","security":null,"support":null}},"created_at":"2018-10-16T09:28:11.000Z","updated_at":"2024-08-16T15:06:09.683Z","dependencies_parsed_at":"2022-08-15T01:40:29.586Z","dependency_job_id":null,"html_url":"https://github.com/vmware-archive/kubectl-import","commit_stats":null,"previous_names":["bitnami-labs/kubectl-import"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fkubectl-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fkubectl-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fkubectl-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fkubectl-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware-archive","download_url":"https://codeload.github.com/vmware-archive/kubectl-import/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222535041,"owners_count":16999230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-01T02:00:18.289Z","updated_at":"2024-11-01T06:31:06.910Z","avatar_url":"https://github.com/vmware-archive.png","language":"Shell","funding_links":[],"categories":["Containers"],"sub_categories":["Kubernetes"],"readme":"# Kubectl-import\n\n`kubectl-import` is a tool for importing and merging `kubectl` configuration files.\n\nThe imported files can be raw configuration files or base64-encoded versions of those files. Base64 is helpful for sharing using tools that impose maximum line size.\n\n## Using\n\n```console\n\n$ kubectl-import ~/Downloads/cluster-kubectl-config\n```\n\nThe specified file(s) are merged back to your kubectl config file - `~/.kube/config` by default, unless `KUBECONFIG` environment variable is set.\n\nIn order to write output to a different file, simply set `KUBECONFIG` variable - such as:\n\n```console\n\n$ KUBECONFIG=/tmp/kubectl-merged kubectl-import ~/.kube/config ~/Downloads/cluster-kubectl-config\n```\n\n## Installing\n\nSimply download the script to a directory in your path. For example:\n\n```console\nsudo curl -o /usr/local/bin/kubectl-import https://raw.githubusercontent.com/bitnami-labs/kubectl-import/master/kubectl-import \u0026\u0026 sudo chmod 0755 /usr/local/bin/kubectl-import\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware-archive%2Fkubectl-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware-archive%2Fkubectl-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware-archive%2Fkubectl-import/lists"}