All Projects → lovoo → drone-gcloud-helm

lovoo / drone-gcloud-helm

Licence: Apache-2.0 license
Drone 0.5 plugin to create and deploy Helm charts for Kubernetes in Google Cloud.

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to drone-gcloud-helm

Helm Charts
Helm charts - Apps for Kubernetes
Stars: ✭ 148 (+1038.46%)
Mutual labels:  charts, helm
Kubernetic
Kubernetic - Supercharge your Kubernetes clusters
Stars: ✭ 243 (+1769.23%)
Mutual labels:  charts, helm
Helm Charts
Helm charts for Kubernetes curated by Kiwigrid
Stars: ✭ 151 (+1061.54%)
Mutual labels:  charts, helm
Kube Score
Kubernetes object analysis with recommendations for improved reliability and security
Stars: ✭ 1,128 (+8576.92%)
Mutual labels:  charts, helm
camunda-cloud-helm
Camunda Platform 8 Self-Managed Helm charts
Stars: ✭ 41 (+215.38%)
Mutual labels:  charts, helm
K8s
Kubernetes Helm Charts for the ORY ecosystem.
Stars: ✭ 127 (+876.92%)
Mutual labels:  charts, helm
Helmfiles
Comprehensive Distribution of Helmfiles for Kubernetes
Stars: ✭ 205 (+1476.92%)
Mutual labels:  charts, helm
Helm Charts
Prometheus community Helm charts
Stars: ✭ 962 (+7300%)
Mutual labels:  charts, helm
moadsd-ng
The MOADSD-NG project does provide a simple way to setup a hybrid cloud security demo, playground and learning environment within the clouds.
Stars: ✭ 13 (+0%)
Mutual labels:  helm, gcp
helm-swagger-ui
Helm Chart for Swagger UI
Stars: ✭ 23 (+76.92%)
Mutual labels:  charts, helm
helm-charts
Community maintained Helm charts for Flux
Stars: ✭ 66 (+407.69%)
Mutual labels:  charts, helm
helm-charts
Source & Repo of https://charts.kubesphere.io/main & https://charts.kubesphere.io/test
Stars: ✭ 85 (+553.85%)
Mutual labels:  charts, helm
Pega Helm Charts
Orchestrate a Pega Platform™ deployment by using Docker, Kubernetes, and Helm to take advantage of Pega Platform Cloud Choice flexibility.
Stars: ✭ 58 (+346.15%)
Mutual labels:  charts, helm
Chart Releaser Action
A GitHub Action to turn a GitHub project into a self-hosted Helm chart repo, using helm/chart-releaser CLI tool
Stars: ✭ 146 (+1023.08%)
Mutual labels:  charts, helm
Helm Diff
A helm plugin that shows a diff explaining what a helm upgrade would change
Stars: ✭ 1,035 (+7861.54%)
Mutual labels:  charts, helm
Chartmuseum
Host your own Helm Chart Repository
Stars: ✭ 2,650 (+20284.62%)
Mutual labels:  charts, helm
Charts
Helm charts for applications you run at home
Stars: ✭ 421 (+3138.46%)
Mutual labels:  charts, helm
Apps
Community App Catalog for TrueNAS SCALE
Stars: ✭ 32 (+146.15%)
Mutual labels:  charts, helm
Charts
⚠️(OBSOLETE) Curated applications for Kubernetes
Stars: ✭ 15,319 (+117738.46%)
Mutual labels:  charts, helm
helm-drupal
Helm chart for running Drupal on Kubernetes
Stars: ✭ 27 (+107.69%)
Mutual labels:  charts, helm

drone-gcloud-helm

Drone 0.6 plugin to use create and deploy Helm charts for Kubernetes and push Helm package to Google Storage. You will need to generate a JSON token to authenticate to the Kuebernetes cluster and to push Helm package to the Google Storage.

The following parameters are used to configure this plugin:

  • debug - enable debug mode.
  • show_env - outputs a list of env vars without values.
  • wait - Wait until all Pods, PVCs, Services, and min number of Pods of a Deployment are in a ready state before marking the release as successful.
  • wait_timeout - Time in seconds to wait for any individual kubernetes operation (like Jobs for hooks) (default 300).
  • recreate-pods - If true, uses helm upgrade with the recreate-pods flag.
  • actions - list of actions over chart - lint, create, push, deploy, test. Required and order is important (except lint).
  • zone - zone of the Kubernetes cluster.
  • region - region of an Kubernetes multi regional cluster.
  • cluster - the Kubernetes cluster name.
  • project - the Google project identifier.
  • namespace - the Kubernetes namespace to install in.
  • bucket - the Google Storage Bucket name to push Helm package into it.
  • chart_repo - the Helm charts repository (defaul ig https://$(BUCKET).storage.googleapis.com/)
  • chart_path - the path to the Helm chart (e.g. chart/foo).
  • chart_version - the version of the chart.
  • package - the package name. Default is chart name.
  • release - the release name used for helm upgrade. Defaults to package name.
  • values - list of chart values. Would be set via --set Helm flag.

Chart Testing:

Create an extra template (most likely a pod) in charts/chartname/tests annotated with "helm.sh/hook": test-success and run the drone plugin with action "test".

An example can be found here.

Auth Key Management:

Add a new secret, containing your JSON token to your project

drone secret add --image=gcr.io/lovoo-ci/drone-gcloud-helm:1.1.0 --name=AWESOME_GCLOUD_TOKEN --value=@/path/to/your/token.json octocat/helloworld

configure the drone-gcloud-helm plugin in your .drone.yaml to use your secret and alias it to AUTH_KEY

  secrets:
    - source: AWESOME_GCLOUD_TOKEN
      target: AUTH_KEY

Sample configuration:

deploy:
  image: foobar/drone-gcloud-helm
  debug: true
  actions:
    - lint
    - create
    - push
    - deploy
    - test
  chart_path: chart/foo
  chart_version: ${DRONE_BUILD_NUMBER}
  project: foo-project
  cluster: foo-cluster-1
  zone: europe-west1-b
  bucket: foo-charts
  secrets:
    - source: AWESOME_GCLOUD_TOKEN
      target: AUTH_KEY
  values:
    - "docker.tag=${DRONE_BUILD_NUMBER}"
  when:
    branch: master
    event: push

Sample configuration for linting only:

lint:
  image: foobar/drone-gcloud-helm
  actions:
    - lint
  chart_path: chart/foo
  when:
    branch: master
    event: push
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].