bitsbeats / drone-helm3 Goto Github PK
View Code? Open in Web Editor NEWHelm3 plugin for Drone CI
License: Apache License 2.0
Helm3 plugin for Drone CI
License: Apache License 2.0
Drone can't find path for Chart, I think drone went directly to find the path inside the container,bacause i setting wrong KUBE_API,but the drone shows that the path can't be found, instead it can't connect to the KUBE_API_SERVER.
- name: helm-deploy
image: bitsbeats/drone-helm3
environment:
KUBE_API_SERVER: https://masterIP:6443
KUBE_TOKEN:
from_secret: dev_kubernetes_token
settings:
mode: installupgrade
chart: /home/team2/helm/mml
release: app
kube_service_account: admin-user
wait: true
values: image.tag=${DRONE_TAG}#
values_files: ["./helm/app.yaml"]
namespace: app
skip_tls_verify: true
When Debug is set to true then values passed to helm charts is ***
I want Helm to use Chart in the private repository, but I can't find a place to set it ,Source code in the add repo, only have repo name and repo server url,juset like it “helm repo add --username admin --password 123456 myrepo http://10.10.10.10:8090/chartrepo/helm --insecure-skip-tls-verify”
@foosinn Just wanted to start a conversation on if it made sense to merge this with the pelotech/drone-helm3 plugin since there's a decent amount of overlap :)
Hello, I am trying to use the bitnami wordpress chart but I'm getting a weird error:
2022/05/30 13:30:26 added repo: name:"bitnami" url:"https://charts.bitnami.com/bitnami"
2022/05/30 13:30:26 running with a timeout of 15m0s
2022/05/30 13:30:26 running: helm [repo add bitnami https://charts.bitnami.com/bitnami]
2022/05/30 13:30:49 running: helm [repo update]
2022/05/30 13:31:11 running: helm [dependency build bitnami/wordpress]
Error: could not find bitnami/wordpress: stat bitnami/wordpress: no such file or directory
My config:
name: deploy
image: bitsbeats/drone-helm3
settings:
debug: true
envsubst: true
dependencies_action: ""
helm_repos:
- bitnami=https://charts.bitnami.com/bitnami
kube_api_server:
from_secret: KUBE_API_SERVER
chart: bitnami/wordpress
chart_version: 13.1
namespace: wordpress-production
kube_token:
from_secret: KUBE_TOKEN
kube_certificate:
from_secret: KUBE_CERTIFICATE
values_yaml: ./deployment/values.yaml
values:
- externalDatabase:
password:
from_secret: DB_PASSWORD
- wordpressPassword:
from_secret: WORDPRESS_PASSWORD
image.registry: ******
image.repository: ****
image.tag: ${DRONE_COMMIT_SHA}
release: my-release-name
when:
branch:
- master
event:
- push
Hi, Is there a plan to add uninstall mode as part of this plugin?
Hi !
kubeconfig file created there by os.Create()
but regarding the doc:
Create creates or truncates the named file. If the file already exists, it is truncated. If the file does not exist, it is created with mode 0666 (before umask).
And we have such warnings:
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
Can you add os.Chmod as well ?
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.