From 46317fa7fe10bf077564a05ba834f3382523922b Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 3 Apr 2019 11:42:21 +1100 Subject: [PATCH] Updated name --- README.md | 9 ++++++--- build.sh | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf6694a..e8386ee 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# drone-kubano +# drone-plugin-kube + +[![](https://images.microbadger.com/badges/version/danielgormly/drone-plugin-kube.svg)](https://microbadger.com/images/danielgormly/drone-plugin-kube "Get your own version badge on microbadger.com") A simple Drone plugin for managing Kubernetes deployments. Follows from [vallard/drone-kube](https://github.com/vallard/drone-kube) but with dependency management, up-to-date client-go, docs updated to Drone 1.0.0 syntax, examples and a different structure. @@ -9,7 +11,7 @@ Add the following [build step](https://docs.drone.io/user-guide/pipeline/steps/) #### drone.yaml partial example ```yml - name: Deploy app - image: danielgormly/kubano + image: danielgormly/drone-plugin-kube settings: template: path/to/deployment.yaml # within repo ca: LS0tLS1... # BASE64 encoded string of the K8s CA cert @@ -28,7 +30,8 @@ Deployment config files are first interpreted by **aymerick/raymond** ([handleba #### Adding a service account to Kubernetes that can manage deployments See [example/Role.yaml](example/Role.yaml), [example/ServiceAccount.yaml](example/ServiceAccount.yaml), [example/RoleBinding.yaml](example/RoleBinding.yaml). -## Development +## Development notes +- No tagged releases or support for older go libraries yet, happy to take feedback in Github issues or PRs. - Kubernetes client not yet supported by dep, so we are using [`brew install glide`](https://github.com/Masterminds/glide). - Update dependencies with brew `glide update --strip-vendor` diff --git a/build.sh b/build.sh index 548278a..5cd5373 100755 --- a/build.sh +++ b/build.sh @@ -2,3 +2,6 @@ rm -rf build/kubano GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build/kubano + +# docker build -t danielgormly/drone-plugin-kube build +# docker push danielgormly/drone-plugin-kube