{"id":25350090,"url":"https://github.com/yankeguo-deprecated/file2configmap","last_synced_at":"2026-04-16T11:02:42.999Z","repository":{"id":71951708,"uuid":"332612715","full_name":"yankeguo-deprecated/file2configmap","owner":"yankeguo-deprecated","description":"A tool to convert files into Kubernetes ConfigMap resource with binaryData field.","archived":false,"fork":false,"pushed_at":"2021-05-12T03:13:43.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T16:59:05.773Z","etag":null,"topics":["configmap","golang","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yankeguo-deprecated.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}},"created_at":"2021-01-25T02:51:06.000Z","updated_at":"2022-09-02T09:08:35.000Z","dependencies_parsed_at":"2024-01-05T16:52:50.895Z","dependency_job_id":"b6885f1a-f8b8-496c-ab3c-7c6b216fae0a","html_url":"https://github.com/yankeguo-deprecated/file2configmap","commit_stats":null,"previous_names":["yankeguo-deprecated/file2configmap"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo-deprecated%2Ffile2configmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo-deprecated%2Ffile2configmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo-deprecated%2Ffile2configmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo-deprecated%2Ffile2configmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yankeguo-deprecated","download_url":"https://codeload.github.com/yankeguo-deprecated/file2configmap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247934810,"owners_count":21020724,"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":["configmap","golang","kubernetes"],"created_at":"2025-02-14T16:59:13.831Z","updated_at":"2026-04-16T11:02:42.992Z","avatar_url":"https://github.com/yankeguo-deprecated.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# file2configmap\n\nA tool to convert files into Kubernetes ConfigMap resource with `binaryData` field.\n\n## Install\n\n```shell\ngo install -u go.guoyk.net/file2configmap\n```\n\n## Usage\n\n### Files in current directory\n\n```shell\nfile2configmap -n myname -ns mynamespace file1.txt\n```\n\n### Files in subdirectories\n\n`file2configmap` will use file base name as `ConfigMap` key.\n\n```shell\nfile2configmap -n myname -ns mynamespace path/to/file2.txt\n```\n\n### Customize key name instead of using file name\n\n```shell\nfile2configmap -n myname -ns mynamespace file3.json:file3.txt\n```\n\n### Multiple files\n\n```shell\nfile2configmap -n myname -ns mynamespace file1.txt path/to/file2.txt files3.json:file3.txt\n```\n\n## Credits\n\nGuo Y.K., MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeguo-deprecated%2Ffile2configmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyankeguo-deprecated%2Ffile2configmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeguo-deprecated%2Ffile2configmap/lists"}