k8s-deployment/.woodpecker/helmfile.yaml

42 lines
896 B
YAML

when:
event:
- push
matrix:
include:
- NAME: badhouseplants
ENV: badhouseplants
steps:
test:
image: ghcr.io/helmfile/helmfile:latest
commands:
- kubectl get all -A
backend_options:
kubernetes:
serviceAccountName: woodpecker-ci
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 500Mi
cpu: 200m
build:
image: ghcr.io/helmfile/helmfile:latest
commands:
- mkdir ~/.kube
- echo $K8S_CONFIG | base64 -d > ~/.kube/config
- helmfile -e "${ENV}" diff
secrets:
- k8s_config
- sops_age_key
backend_options:
kubernetes:
serviceAccountName: woodpecker-ci
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 500Mi
cpu: 200m