{"id":24638228,"url":"https://github.com/miyamo2/kubectl-create-transient_configmap","last_synced_at":"2026-05-16T20:35:39.112Z","repository":{"id":263891240,"uuid":"889491799","full_name":"miyamo2/kubectl-create-transient_configmap","owner":"miyamo2","description":"kubectl plugin; Create a ConfigMap and a Job. And after the job is complete, delete them.","archived":false,"fork":false,"pushed_at":"2026-02-11T01:45:33.000Z","size":65,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-11T06:05:00.402Z","etag":null,"topics":["go","golang","kubectl","kubectl-command","kubectl-commands","kubectl-plugin","kubectl-plugins","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/miyamo2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-16T13:18:41.000Z","updated_at":"2025-01-17T14:12:07.000Z","dependencies_parsed_at":"2025-03-04T20:28:26.898Z","dependency_job_id":"d021b247-7554-45f5-afa4-bc81e3b7f6ee","html_url":"https://github.com/miyamo2/kubectl-create-transient_configmap","commit_stats":null,"previous_names":["miyamo2/kubectl-create-transient_configmap"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/miyamo2/kubectl-create-transient_configmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamo2%2Fkubectl-create-transient_configmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamo2%2Fkubectl-create-transient_configmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamo2%2Fkubectl-create-transient_configmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamo2%2Fkubectl-create-transient_configmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyamo2","download_url":"https://codeload.github.com/miyamo2/kubectl-create-transient_configmap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyamo2%2Fkubectl-create-transient_configmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33118009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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":["go","golang","kubectl","kubectl-command","kubectl-commands","kubectl-plugin","kubectl-plugins","kubernetes"],"created_at":"2025-01-25T10:13:29.909Z","updated_at":"2026-05-16T20:35:39.079Z","avatar_url":"https://github.com/miyamo2.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubectl-create-transient_configmap \n\n[![CI](https://github.com/miyamo2/kubectl-create-transient_configmap/actions/workflows/ci.yaml/badge.svg)](https://github.com/miyamo2/kubectl-create-transient_configmap/actions/workflows/ci.yaml)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/miyamo2/kubectl-create-transient_configmap)](https://img.shields.io/github/v/release/miyamo2/kubectl-create-transient_configmap)\n[![Go Report Card](https://goreportcard.com/badge/github.com/miyamo2/kubectl-create-transient_configmap)](https://goreportcard.com/report/github.com/miyamo2/kubectl-create-transient_configmap)\n[![GitHub License](https://img.shields.io/github/license/miyamo2/kubectl-create-transient_configmap?\u0026color=blue)](https://img.shields.io/github/license/miyamo2/kubectl-create-transient_configmap?\u0026color=blue)\n\nkubectl plugin.  \nCreate a ConfigMap and a Job. And after the job is complete, delete them.\n\n## Quick Start\n\n### Install\n\n#### With homebrew\n\n```sh\nbrew install miyamo2/tap/kubectl-create-transient_configmap\n```\n\n#### With go install\n\n```sh\ngo install github.com/miyamo2/kubectl-create-transient_configmap@latest\n```\n\n### Simple Usage\n\n**Manifest**\n```yaml\napiVersion: batch/v1\nkind: CronJob\nmetadata:\n  name: foo-batch\nspec:\n  timeZone: \"Asia/Tokyo\"\n  schedule: \"0 0 * * *\"\n  startingDeadlineSeconds: 100\n  jobTemplate:\n    spec:\n      completions: 1\n      parallelism: 1\n      backoffLimit: 0\n      template:\n        spec:\n          containers:\n            - name: foo-batch\n              image: e2e:latest\n              imagePullPolicy: Never\n              env:\n                - name: NUM\n                  valueFrom:\n                    configMapKeyRef:\n                      name: foo-configmap\n                      key: num\n                      optional: true\n          restartPolicy: Never\n```\n\n**command**\n```sh\nkubectl create transient_configmap foo-configmap --from-literal=num=1 --job-name=test-job --job-from=cronjob/foo-batch\n```\n\n## Features\n\n### Flags\n\n| name            | description                                                                                                                                                                                                                                                                                               |\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `from-env-file` | Specify the path to a file to read lines of key=val pairs to create a configmap.                                                                                                                                                                                                                          |\n| `from-file`     | Key file can be specified using its file path, in which case file basename will be used as configmap key, or optionally with a key and file path, in which case the given key will be used. Specifying a directory will iterate each named file in the directory whose basename is a valid configmap key. |\n| `from-literal`  | Specify a key and literal value to insert in configmap (i.e. mykey=somevalue)                                                                                                                                                                                                                             |\n| `job-name`      | Name of job to be created. required.                                                                                                                                                                                                                                                                      |\n| `job-from`      | The name of the resource to create a Job from (only cronjob is supported).                                                                                                                                                                                                                                |\n| `job-image`     | Image name to run.                                                                                                                                                                                                                                                                                        |\n\n## Contributing\n\nFeel free to open a PR or an Issue.  \nHowever, you must promise to follow our [Code of Conduct](https://github.com/miyamo2/kubectl-create-transient_configmap/blob/main/CODE_OF_CONDUCT.md).\n\n## License\n\n**kubectl-create-transient_configmap** released under the [MIT License](https://github.com/miyamo2/kubectl-create-transient_configmap/blob/main/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyamo2%2Fkubectl-create-transient_configmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyamo2%2Fkubectl-create-transient_configmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyamo2%2Fkubectl-create-transient_configmap/lists"}