{"id":19078379,"url":"https://github.com/kickstarter/cog-consul-oss","last_synced_at":"2025-07-09T05:34:50.239Z","repository":{"id":138586171,"uuid":"76577569","full_name":"kickstarter/cog-consul-oss","owner":"kickstarter","description":"HashiCorp Consul KV read/write bundle for Cog.","archived":false,"fork":false,"pushed_at":"2016-12-19T21:02:11.000Z","size":21,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T04:48:52.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bundles.operable.io/bundles/consul/latest","language":"Ruby","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/kickstarter.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}},"created_at":"2016-12-15T16:40:50.000Z","updated_at":"2019-07-03T20:49:40.000Z","dependencies_parsed_at":"2023-04-15T12:01:05.082Z","dependency_job_id":null,"html_url":"https://github.com/kickstarter/cog-consul-oss","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kickstarter/cog-consul-oss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcog-consul-oss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcog-consul-oss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcog-consul-oss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcog-consul-oss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kickstarter","download_url":"https://codeload.github.com/kickstarter/cog-consul-oss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcog-consul-oss/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264400075,"owners_count":23602206,"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-11-09T02:08:54.359Z","updated_at":"2025-07-09T05:34:50.234Z","avatar_url":"https://github.com/kickstarter.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"`consul`: The Cog Consul Command Bundle\n=========================================\n\n`!consul:read`  \n`!consul:write`\n`!consul:list`\n\n## Overview\n\nThe `consul` bundle adds two new commands: read and write.\n\n* `read` - Show values associated with a key. \n        `read \u003ckey\u003e`\n        `read` is a GET call to the Consul API. It will return the value stored.\n\n* `write` - Write values associated with a key.\n        `write \u003ckey\u003e \u003cvalue\u003e`\n        `write` is a PUT call to the Consul API. It won't return anything.\n\n* `list` - List all keys associated with an endpoint.\n        `list \u003cendpoint\u003e`\n        `list` is a GET call to the Consul API. It will return an array of keys.\n\n## Configuration\n\n* The consul bundle uses the [v1 Consul API](https://www.consul.io/docs/agent/http/kv.html).\n\nConsul uses env vars to configure it. Both commands require\n`CONSUL_DOMAIN_NAME` and `CONSUL_MASTER_TOKEN` to be set. These are the \ndomain name for your consul account and the api token for write privledges respectively. You can find an example of how to set these configurations in the `base/example_dynamic_config.yaml`. \n\nOptionally, you can set `CONSUL_CHANNELS` to restrict permisible channels for `write`. \n\n## Install\n\n    git clone git@github.com:kickstarter/cog-consul-oss.git\n    cogctl bundle install config.yaml\n\n## Build\n\nTo build the Docker image, simply run:\n\n   `$ docker build .`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkickstarter%2Fcog-consul-oss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkickstarter%2Fcog-consul-oss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkickstarter%2Fcog-consul-oss/lists"}