{"id":16287982,"url":"https://github.com/valentin2105/k8s-bot","last_synced_at":"2025-10-30T06:08:07.763Z","repository":{"id":57593496,"uuid":"122571870","full_name":"valentin2105/k8s-bot","owner":"valentin2105","description":"A bot to interact with Kubernetes on Hipchat","archived":false,"fork":false,"pushed_at":"2018-08-09T03:04:12.000Z","size":21,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T22:48:19.571Z","etag":null,"topics":["bot","hipchat","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/valentin2105.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}},"created_at":"2018-02-23T04:05:31.000Z","updated_at":"2021-08-24T13:07:37.000Z","dependencies_parsed_at":"2022-08-24T14:57:12.929Z","dependency_job_id":null,"html_url":"https://github.com/valentin2105/k8s-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentin2105%2Fk8s-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentin2105%2Fk8s-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentin2105%2Fk8s-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentin2105%2Fk8s-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valentin2105","download_url":"https://codeload.github.com/valentin2105/k8s-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047608,"owners_count":20389205,"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":["bot","hipchat","kubernetes"],"created_at":"2024-10-10T19:46:57.396Z","updated_at":"2025-10-30T06:08:07.669Z","avatar_url":"https://github.com/valentin2105.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k8s-bot\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/valentin2105/k8s-bot)](https://goreportcard.com/report/github.com/valentin2105/k8s-bot)\n[![Build Status](https://travis-ci.org/valentin2105/k8s-bot.svg?branch=master)](https://travis-ci.org/valentin2105/k8s-bot)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/dwyl/esta/issues)\n\n\n\n`k8s-bot` is a small Golang Bot that allows you to interact with your Kubernetes cluster via Hipchat channel.\n\n## How install it ?\nYou can install it in your cluster using `Helm` and your Chat Application credentials:\n\n```\ngit clone https://github.com/valentin2105/k8s-bot.git \u0026\u0026 cd k8s-bot/helm\n\n# Edit values.yaml\n\npod: k8s-bot\nimage: valentinnc/k8s-bot:latest\nserviceAccount: k8s-bot\nprovider: Hipchat\nroom: \"3999999\" # Change Room ID\ntoken: \"thenah7oCaishei7een2it7iu9jucie5uphoa1ohg2ain2iengooShoo8Ee7eeNa\" # Change Token\n\nhelm install -n k8s-bot --namespace k8s-bot .\n```\n\nYou should generate a Hipchat User's token (`Account Settings -\u003e API Access -\u003e Generate token`)\n\n## How to use it ?\n```\n!k - get cs\n\n!k kube-system get deploy\n\n!k all get pod\n```\n\n\u003cimg src=\"https://i.imgur.com/9qNRiiT.png\" width=\"463\" height=\"236\"\u003e\n\n\n`!k [ns] [verb] [resource]`\n\n## How to build ?\n```\ngo get github.com/tbruyelle/hipchat-go/hipchat\ncd $GOPATH/src\ngit clone https://github.com/valentin2105/k8s-bot.git\ngo build\n./k8s-bot -h\n```\n\nk8s-bot requires `kubectl` and these environment variables:\n```\nKUBERNETES_SERVICE_HOST=10.32.0.1\t# By default on Kubernetes\nKUBERNETES_SERVICE_PORT=443\t\t# By default on Kubernetes\nPROVIDER=Hipchat\nTOKEN=\u003chipchat-user-token\u003e\nROOM=\u003chipchat-room-id\u003e\n```\nAll of the above are included in the Helm chart and Dockerfile.\n\n## Support on Beerpay\nHey dude! Help me out for a couple of :beers:!\n\n[![Beerpay](https://beerpay.io/valentin2105/k8s-bot/badge.svg?style=beer-square)](https://beerpay.io/valentin2105/k8s-bot)  [![Beerpay](https://beerpay.io/valentin2105/k8s-bot/make-wish.svg?style=flat-square)](https://beerpay.io/valentin2105/k8s-bot?focus=wish)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentin2105%2Fk8s-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalentin2105%2Fk8s-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentin2105%2Fk8s-bot/lists"}