Drone plugin to update kubernetes deployments
See the DOC file for usage.
Drone Plugin for Kubernetes
Drone plugin to update kubernetes deployments
See the DOC file for usage.
But it only worked for me when I set the secret to be the usual .pem format starting with:
-----BEGIN CERTIFICATE-----
…
Otherwise I got an error like
2019/08/29 02:29:54 Get KUBE_SERVER/apis/extensions/v1beta1/namespaces/KUBE_NAMESPACE/deployments: x509: certificate signed by unknown authority
this no longer works with the flow of drone
YAML supports having multiple documents in the same file by splitting different documents with ---
. Kubernetes supports this approach. When I kubectl apply -f template.yaml
and it contains multiple deployments for instance, it applies all the deployments. drone-kube
doesn't support that and I had to split my single template into multiple files and multiple build steps. Can we have support for that? Thanks!
So I create a serviceAccount and added an imagePullSecret to that account. I added my token and ca to the drone secrets for this image.
However when I try to run a build I get the following error:
the server has asked for the client to provide credentials (put deployments.extensions myappname)
This doesn't give me much information on which part may be wrong. Any ideas?
Thanks,
I would be great if we can use a dynamically generated tag (for instance constructed from package.json version, date, and moon phase) in drone-kube
. The tag can be constructed and saved to a file so drone-kube
can use it.
This functionality is already supported by drone-docker
(it looks for .tag
file).
Where does one obtain a KUBE_TOKEN and KUBE_CA
from within GKE environment?
Trying to update my AWS EKS v1.10 cluster using this plugin and I get a parsing error while trying to deploy my application. I've validated that my deployment.yaml works stand alone and successfully deployed it to the cluster.
I believe it has something to do with the Go client being outdated and perhaps incompatible with Kubernetes v1.10.
Below is the error I receive.
Error decoding yaml file to jsonUnable to convert <nil> to conversion.structAdaptor{typ:(*reflect.rtype)(0x16deea0), ptr:(unsafe.Pointer)(0xc8203b0110), flag:0x199}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.