Add an etersoft pipeline
This commit is contained in:
parent
96f0ced99f
commit
21fa008ec7
19
.drone.yml
19
.drone.yml
@ -5,14 +5,9 @@
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: Apply helmfile changes
|
||||
matrix:
|
||||
ENV:
|
||||
- etersoft
|
||||
- badhouseplants
|
||||
|
||||
|
||||
steps:
|
||||
- name: Diff helmfiles
|
||||
- name: Diff badhouseplants
|
||||
image: ghcr.io/helmfile/helmfile:canary
|
||||
environment:
|
||||
KUBECONFIG_CONTENT:
|
||||
@ -20,4 +15,14 @@ steps:
|
||||
commands:
|
||||
- mkdir $HOME/.kube
|
||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||
- helmfile -e ${ENV} diff
|
||||
- helmfile -e badhouseplants diff
|
||||
|
||||
- name: Diff eterosoft
|
||||
image: ghcr.io/helmfile/helmfile:canary
|
||||
environment:
|
||||
KUBECONFIG_CONTENT:
|
||||
from_secret: KUBECONFIG_CONTENT
|
||||
commands:
|
||||
- mkdir $HOME/.kube
|
||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||
- helmfile -e eterosoft diff
|
||||
|
@ -11,10 +11,5 @@ releases:
|
||||
namespace: kube-system
|
||||
createNamespace: false
|
||||
|
||||
- <<: *openvpn
|
||||
installed: false
|
||||
namespace: openvpn-service
|
||||
createNamespace: true
|
||||
|
||||
helmfiles:
|
||||
- path: {{.Environment.Name }}/helmfile.yaml
|
||||
|
Reference in New Issue
Block a user