Skip to content

Drone CI plugin for creating & updating K8s Deployments, ConfigMaps

Notifications You must be signed in to change notification settings

kryptus36/drone-plugin-kube

 
 

Repository files navigation

drone-plugin-kube

A simple Drone plugin for updating Kubernetes resources from yaml templates. Follows from vallard/drone-kube. The plugin will create a resource if it doesn't already exist i.e. behaves similar to kubectl apply. This plugin supports deployments, configmaps, ingresses, and services.

Usage: See drone.md

Creating a Kubernetes service account for Drone

See example/Role.yaml, example/ServiceAccount.yaml, example/RoleBinding.yaml.

Usage notes:

  • The watching process is not currently reliable i.e. it doesn't properly wait for new deployments to become live. Not entirely sure how this should behave but I think behind a flag would make sense. PRs welcome.

Development notes

Acknowledgements

  • @vallard for the original plugin
  • @jbonzo for ingress, service support, improved error handling etc

About

Drone CI plugin for creating & updating K8s Deployments, ConfigMaps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 90.7%
  • Shell 8.9%
  • Dockerfile 0.4%