Install metrics-server #1
19
.drone.yml
19
.drone.yml
@ -5,14 +5,9 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: Apply helmfile changes
|
name: Apply helmfile changes
|
||||||
matrix:
|
|
||||||
ENV:
|
|
||||||
- etersoft
|
|
||||||
- badhouseplants
|
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Diff helmfiles
|
- name: Diff badhouseplants
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
@ -20,4 +15,14 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- 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
|
namespace: kube-system
|
||||||
createNamespace: false
|
createNamespace: false
|
||||||
|
|
||||||
- <<: *openvpn
|
|
||||||
installed: false
|
|
||||||
namespace: openvpn-service
|
|
||||||
createNamespace: true
|
|
||||||
|
|
||||||
helmfiles:
|
helmfiles:
|
||||||
- path: {{.Environment.Name }}/helmfile.yaml
|
- path: {{.Environment.Name }}/helmfile.yaml
|
||||||
|
Reference in New Issue
Block a user