All Projects → ipedrazas → Drone Helm

ipedrazas / Drone Helm

Licence: mit
Helm (Kubernetes) plugin for drone.io

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Drone Helm

Kube Tools
Kubernetes tools for GitHub Actions CI
Stars: ✭ 86 (-25.86%)
Mutual labels:  helm
Helm Git
Helm Plugin - Install Helm Charts directly from Git repositories
Stars: ✭ 96 (-17.24%)
Mutual labels:  helm
Unfork
Kubectl plugin to find forked Helm Charts and other K8s resources and unfork them with Kustomize
Stars: ✭ 106 (-8.62%)
Mutual labels:  helm
Workflow
The open source PaaS for Kubernetes.
Stars: ✭ 1,291 (+1012.93%)
Mutual labels:  helm
Helm System Packages
A Helm interface to the package manager of your operating system
Stars: ✭ 93 (-19.83%)
Mutual labels:  helm
Quiz
Example real time quiz application with .NET Core, React, DDD, Event Sourcing, Docker and built-in infrastructure for CI/CD with k8s, jenkins and helm
Stars: ✭ 100 (-13.79%)
Mutual labels:  helm
Armada
This project has moved to OpenStack.
Stars: ✭ 79 (-31.9%)
Mutual labels:  helm
Helm Cronjobs
a helm chart for cronjobs in kubernetes
Stars: ✭ 111 (-4.31%)
Mutual labels:  helm
Helm Charts
Helm Charts for Jaeger backend
Stars: ✭ 94 (-18.97%)
Mutual labels:  helm
Konstellate
Free and Open Source GUI to Visualize Kubernetes Applications.
Stars: ✭ 1,394 (+1101.72%)
Mutual labels:  helm
Podinfo
Go microservice template for Kubernetes
Stars: ✭ 1,287 (+1009.48%)
Mutual labels:  helm
Spark On Kubernetes Helm
Spark on Kubernetes infrastructure Helm charts repo
Stars: ✭ 92 (-20.69%)
Mutual labels:  helm
Kapitan
Generic templated configuration management for Kubernetes, Terraform and other things
Stars: ✭ 1,383 (+1092.24%)
Mutual labels:  helm
Helm Charts
Kubernetes Helm Charts for the Center for Open Science
Stars: ✭ 88 (-24.14%)
Mutual labels:  helm
Render
Universal data-driven template for generating textual output, as a static binary and a library
Stars: ✭ 108 (-6.9%)
Mutual labels:  helm
Helm Www
The Helm website for docs, blog and project info.
Stars: ✭ 85 (-26.72%)
Mutual labels:  helm
Microbean Helm
A Java API for Helm, the Kubernetes package manager.
Stars: ✭ 99 (-14.66%)
Mutual labels:  helm
Refarch Cloudnative Kubernetes
Reference Implementation for Microservices based on Kubernetes and the IBM Container Service.
Stars: ✭ 115 (-0.86%)
Mutual labels:  helm
Monocular
⚠️(OBSOLETE) Search and discovery UI for Helm Chart repositories
Stars: ✭ 1,457 (+1156.03%)
Mutual labels:  helm
Swift
Ajax friendly Helm Tiller Proxy
Stars: ✭ 103 (-11.21%)
Mutual labels:  helm

Helm (Kubernetes) plugin for drone.io

Build Status Docker Repository on Quay Go Doc Go Report

This plugin allows to deploy a Helm chart into a Kubernetes cluster.

  • Current helm version: 2.14.1
  • Current kubectl version: 1.14.3

Drone Pipeline Usage

For the usage information and a listing of the available options please take a look at the docs.

Run the local image (or replace drone-helm with quay.io/ipedrazas/drone-helm:

docker run --rm \
  -e API_SERVER="https://$(minikube ip):8443" \
  -e KUBERNETES_TOKEN="${KUBERNETES_TOKEN}" \
  -e PLUGIN_NAMESPACE=default \
  -e PLUGIN_SKIP_TLS_VERIFY=true \
  -e PLUGIN_RELEASE=my-release \
  -e PLUGIN_CHART=stable/redis \
  -e PLUGIN_VALUES="tag=TAG,api=API" \
  -e PLUGIN_STRING_VALUES="long_string_value=1234567890" \
  -e PLUGIN_DEBUG=true \
  -e PLUGIN_DRY_RUN=true \
  -e DRONE_BUILD_EVENT=push \
  quay.io/ipedrazas/drone-helm

Troubleshooting

If you see this problem: Error: API Server is needed to deploy. It's usually because you haven't a secret that specifies the API_SERVER or the KUBERNETES_TOKEN.

As one000mph commented in an issue, setting the right PREFIX and secrets usually solves the problem.

export ACTION=add
    export REPO=org/myrepo
    export PREFIX=prod_
    # export CLUSTER_URI, UNENCODED_TOKEN, BASE64_CERT
    drone secret $ACTION --repository $REPO --name "${PREFIX}api_server" --value $CLUSTER_URI
    drone secret $ACTION --repository $REPO --name "${PREFIX}kubernetes_token" --value $UNENCODED_TOKEN
    drone secret $ACTION --repository $REPO --name "${PREFIX}kubernetes_certificate" --value $BASE64_CERT```

Contribution

This repo is setup in a way that if you enable a personal drone server to build your fork it will build and publish your image (makes it easier to test PRs and use the image till the contributions get merged)

  • Build local DRONE_REPO_OWNER=ipedrazas DRONE_REPO_NAME=drone-helm drone exec
  • on your server just make sure you have DOCKER_USERNAME, DOCKER_PASSWORD, and DOCKERHUB_REPO set as secrets
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].