{"id":23390505,"url":"https://github.com/tty47/toml2cm","last_synced_at":"2025-04-08T14:20:32.113Z","repository":{"id":107119500,"uuid":"596728671","full_name":"tty47/toml2cm","owner":"tty47","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-05T16:53:50.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T10:43:42.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tty47.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-02-02T20:08:03.000Z","updated_at":"2023-02-03T21:35:44.000Z","dependencies_parsed_at":"2023-04-04T17:48:29.219Z","dependency_job_id":null,"html_url":"https://github.com/tty47/toml2cm","commit_stats":null,"previous_names":["tty47/toml2cm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tty47%2Ftoml2cm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tty47%2Ftoml2cm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tty47%2Ftoml2cm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tty47%2Ftoml2cm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tty47","download_url":"https://codeload.github.com/tty47/toml2cm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247856550,"owners_count":21007621,"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-12-22T03:31:41.463Z","updated_at":"2025-04-08T14:20:32.083Z","avatar_url":"https://github.com/tty47.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toml2CM\n\n---\n\n## Description\nToml 2 ConfigMap is a tool that help us to migrate Toml files to [Kubernetes ConfigMaps](https://kubernetes.io/docs/concepts/configuration/configmap/) in a \n[Helm template](https://helm.sh/docs/chart_best_practices/templates/) way.\n\nThis tools was created with the goal of migrating `toml` configurations to\nConfigMaps in an easy way and removing the toil.\n\n---\n\n## How does it work?\n\nIt has some flags (currently one), where we can specify the file to the path\nthat we would like to convert.\nIt reads the `toml` file and parse it line by line, generating a new one with\na ConfigMap format.\n\n---\n\n## Sources\n\n- [Kubernetes ConfigMaps](https://kubernetes.io/docs/concepts/configuration/configmap/)\n- [Helm template](https://helm.sh/docs/chart_best_practices/templates/)\n\n---\n\n## Requirements\n\n- Go: Install go\n\n\n## How to execute it?\n\n```go\ngo run *.go --file=\u003cfileName\u003e\n// Example\ngo run *.go --file=example.toml\n```\n\n---\n\n## TODO\n\n- [x] Add ConfigMap header\n- [x] Read all files inside a folder\n- [ ] Add tests 👀\n- [ ] Show help menu if there's no input\n\n---\n\nJose Ramon Mañes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftty47%2Ftoml2cm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftty47%2Ftoml2cm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftty47%2Ftoml2cm/lists"}