Install metrics-server #1
20
.drone.yml
20
.drone.yml
@ -6,20 +6,14 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: Apply helmfile changes
|
name: Apply helmfile changes
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Publish the Helm chart
|
- name: Diff helmfiles
|
||||||
image: alpine/helm
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
KUBECONFIG:
|
||||||
from_secret: GITEA_TOKEN
|
from_secret: KUBECONFIG
|
||||||
commands:
|
commands:
|
||||||
- helm plugin install https://github.com/chartmuseum/helm-push
|
- mkdir $HOME/.kube
|
||||||
- helm package chart -d chart-package
|
- echo $KUBECONFIG | base64 -d > $HOME/.kube/config
|
||||||
- helm repo add --username allanger --password $GITEA_TOKEN allanger-charts https://git.badhouseplants.net/api/packages/allanger/helm
|
- helmfile -e badhouseplants diff
|
||||||
- helm cm-push "./chart-package/$(ls chart-package)" allanger-charts
|
|
||||||
|
Reference in New Issue
Block a user