{"id":18483351,"url":"https://github.com/guidesmiths/kube-deploy","last_synced_at":"2025-05-13T20:26:40.781Z","repository":{"id":139180319,"uuid":"65283791","full_name":"guidesmiths/kube-deploy","owner":"guidesmiths","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-29T13:38:37.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-05T07:17:39.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/guidesmiths.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":"2016-08-09T09:50:55.000Z","updated_at":"2019-06-25T07:14:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f1bc6d6-2b2b-4aaa-b3b1-191f0b367c8d","html_url":"https://github.com/guidesmiths/kube-deploy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidesmiths%2Fkube-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidesmiths%2Fkube-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidesmiths%2Fkube-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidesmiths%2Fkube-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guidesmiths","download_url":"https://codeload.github.com/guidesmiths/kube-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253398117,"owners_count":21902037,"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-06T12:35:24.881Z","updated_at":"2025-05-13T20:26:40.763Z","avatar_url":"https://github.com/guidesmiths.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://img.shields.io/travis/guidesmiths/kube-deploy/master.svg)](https://travis-ci.org/guidesmiths/kube-deploy)\n[![Code Style](https://img.shields.io/badge/code%20style-imperative-brightgreen.svg)](https://github.com/guidesmiths/eslint-config-imperative)\n\n# kube-deploy\nIt's meant to be used in continuous integration pipelines in order to update a kubernetes deployment with the most recent docker image. It sends a PATCH request to the kubernetes apiserver in order to do so.\n\nCurrently, only [deployments](http://kubernetes.io/docs/user-guide/deployments/) are supported and other types of kubernetes resources will be added when and if they are requested.\n\n## Usage\n```\n  Usage: kube-deploy [options] \u003cresource-type/resource-name\u003e \u003ccontainer-name\u003e \u003ccontainer-image\u003e\n\n  Options:\n\n    -h, --help               output usage information\n    -u --url \u003cstring\u003e        kubernetes API URL\n    -n --namespace \u003cstring\u003e  optional: kubernetes namespace [default: default]\n    -k --insecure-https      optional: ingore SSL certificate validity\n```\n\n## Example\nIt's designed to be used as a script in other packages:\n\n```\n\"scripts\": {\n  ...\n  \"deploy\": \"kube-deploy -u https://kubernetes.example.com deployment/my-deployment my-container-name docker/image:tag\",\n  ...\n}\n```\n\nSo that it makes it easy to just say `npm run kube-deploy` in the CI pipeline.\n\n## Authentication\nIn order to authenticate against the kubernetes deployment, `kube-deploy` will use the access token from the environment variable `KUBERNETES_TOKEN`.\n\n## Docker\nYou also can run kube-deploy with docker\n```\ndocker run guidesmiths/kube-deploy [options] \u003cresource-type/resource-name\u003e \u003ccontainer-name\u003e \u003ccontainer-image\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidesmiths%2Fkube-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguidesmiths%2Fkube-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidesmiths%2Fkube-deploy/lists"}