From 96a6a70009efbec7571a845aef1b9e0ea43d5ed3 Mon Sep 17 00:00:00 2001 From: Daniel Gormly Date: Wed, 4 Sep 2019 08:03:25 +1000 Subject: [PATCH] Updated drone.md to match drone-plugin-index PR post-review changes --- drone.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/drone.md b/drone.md index d103306..a31b32a 100644 --- a/drone.md +++ b/drone.md @@ -1,5 +1,5 @@ --- -date: 2019-09-26T00:00:00+00:00 +date: 2019-09-27T00:00:00+00:00 title: Kubernetes author: danielgormly tags: [ kubernetes, deployment, configmap ] @@ -8,7 +8,7 @@ logo: kubernetes.svg image: danielgormly/drone-plugin-kube --- -Updates Kubernetes deployments from templates & configMaps from files. This plugin will either create or update existing resources dependent on their presence. It will wait for deployments before it progresses. +Updates Kubernetes deployments from templates & configMaps from files. This plugin will either create or update existing resources dependent on their presence. It will wait for deployments before it progresses. Additional Create or update deployment @@ -40,11 +40,6 @@ pipeline: from_secret: kubernetes_token ``` -# Secret Reference - -kubernetes_token -: Kubernetes service account token (Not base64 encoded) - # Parameter Reference ca @@ -52,3 +47,15 @@ ca server : https://10.0.0.20:6443 + +kubernetes_token +: Kubernetes service account token (Not base64 encoded) + +template +: Path to Kubernetes yaml based definition file (Configmap or Deployment) + +configmap_file +: path to file containing data to inject in configmap (They configmap key that contains the data will be the filename) + +`*` +: Other parameters will be made available for interpolation within yaml templates (upper-case will be converted to lower-case)