https://github.com/ironcore864/drone-helm3-s3
https://github.com/ironcore864/drone-helm3-s3
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ironcore864/drone-helm3-s3
- Owner: IronCore864
- Created: 2020-04-15T08:35:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-14T16:05:36.000Z (almost 6 years ago)
- Last Synced: 2025-06-01T02:44:44.088Z (about 1 year ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# drone-helm3-s3 Plugin
A docker image based on alpine/helm3, with helm-s3 plugin and kubectl installed so that you can use AWS S3 bucket as your helm chart repository.
## DockerHub
https://hub.docker.com/repository/docker/ironcore864/drone-helm3-s3
## Usage
### Drone CI Example w/ Kubernetes Runner
```
---
kind: pipeline
type: kubernetes
name: k8s-deploy
# must create yourself so that the pod has permission to deploy in the cluster, or comment this out and use other ways to access k8s like kube_api and token.
service_account_name: drone-k8s-deploy
steps:
- name: deploy
image: ironcore864/drone-helm3-s3:alpine3.11-helm3.11
commands:
- helm repo add YOUR_REPO_NAME sei s3://YOUR_REPO_S3_BUCKET
- helm repo update
- helm upgrade RELEASE_NAME -n NAMESPACE YOUR_REPO_NAME/YOUR_CHART_NAME
environment:
AWS_DEFAULT_REGION: REGION_OF_YOUR_S3
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: AWS_SECRET_ACCESS_KEY
trigger:
branch:
- master
event:
exclude:
- pull_request
```