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
Nikolai Rodionov 4d5d02a38e Check matrix
2023-02-18 18:44:13 +01:00

24 lines
521 B
YAML

---
# ----------------------------------------------
# -- Helmfile apply changes
# ----------------------------------------------
kind: pipeline
type: kubernetes
name: Apply helmfile changes
matrix:
ENV:
- etersoft
- badhouseplants
steps:
- name: Diff helmfiles
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 $ENV diff