This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
k8s-cluster-config/.drone.yml

21 lines
485 B
YAML
Raw Normal View History

2023-02-18 17:23:01 +00:00
---
# ----------------------------------------------
# -- Helmfile apply changes
# ----------------------------------------------
kind: pipeline
type: kubernetes
name: Apply helmfile changes
steps:
2023-02-18 17:28:38 +00:00
- name: Diff helmfiles
image: ghcr.io/helmfile/helmfile:canary
2023-02-18 17:23:01 +00:00
environment:
2023-02-18 17:28:38 +00:00
KUBECONFIG:
from_secret: KUBECONFIG
2023-02-18 17:23:01 +00:00
commands:
2023-02-18 17:28:38 +00:00
- mkdir $HOME/.kube
- echo $KUBECONFIG | base64 -d > $HOME/.kube/config
2023-02-18 17:30:58 +00:00
- cat $HOME/.kube/config
2023-02-18 17:28:38 +00:00
- helmfile -e badhouseplants diff