environment in steps

This commit is contained in:
Florian Herrengt 2024-01-25 12:02:19 +00:00
parent 64b59a9e01
commit b79f35d606
1 changed files with 3 additions and 4 deletions

View File

@ -8,13 +8,12 @@ trigger:
event:
- push
environment:
KUBE_CONFIG:
from_secret: KUBE_CONFIG
steps:
- name: kustomization
image: bitnami/kubectl:latest
environment:
KUBE_CONFIG:
from_secret: KUBE_CONFIG
commands:
- curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
- echo "$$KUBE_CONFIG" | base64 -d > /.kube/config