Start using CDH (#42)
Reviewed-on: https://git.badhouseplants.net/badhouseplants/k8s-cluster-config/pulls/42
This commit is contained in:
parent
a6f49a084f
commit
a2bd88b8b0
28
.drone.yml
28
.drone.yml
@ -14,7 +14,7 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Diff badhouseplants
|
- name: Diff badhouseplants
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
@ -26,7 +26,7 @@ steps:
|
|||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e badhouseplants diff --suppress-secrets
|
- helmfile -e badhouseplants diff --suppress-secrets
|
||||||
|
|
||||||
- name: Diff eterosoft
|
- name: Diff eterosoft
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
SOPS_AGE_KEY:
|
SOPS_AGE_KEY:
|
||||||
@ -53,7 +53,7 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Apply badhouseplants
|
- name: Apply badhouseplants
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
@ -65,7 +65,7 @@ steps:
|
|||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e badhouseplants apply --suppress-secrets
|
- helmfile -e badhouseplants apply --suppress-secrets
|
||||||
|
|
||||||
- name: Apply eterosoft
|
- name: Apply eterosoft
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
KUBECONFIG_CONTENT:
|
KUBECONFIG_CONTENT:
|
||||||
@ -77,3 +77,23 @@ steps:
|
|||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e etersoft apply --suppress-secrets
|
- helmfile -e etersoft apply --suppress-secrets
|
||||||
|
|
||||||
|
---
|
||||||
|
# ----------------------------------------------
|
||||||
|
# -- Check da helm pipeline
|
||||||
|
# ----------------------------------------------
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: Check helmfiles
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
|
cron:
|
||||||
|
- daily
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check badhouseplants
|
||||||
|
image: ghcr.io/allanger/check-da-helm-helmfile:stable
|
||||||
|
environment:
|
||||||
|
RUST_LOG: info
|
||||||
|
commands:
|
||||||
|
- cdh --kind helmfile -p $DRONE_WORKSPACE/helmfile.yaml --helmfile-environment badhouseplants -o
|
||||||
|
Reference in New Issue
Block a user