Files
pv-controller/.woodpecker/config.yml
Wolfgang Hottgenroth 4405f5f7e7
Some checks failed
ci/woodpecker/tag/namespace Pipeline was successful
ci/woodpecker/tag/config Pipeline failed
ci/woodpecker/tag/build Pipeline was successful
test ci 1
2025-12-05 12:37:21 +01:00

23 lines
617 B
YAML

# when:
# event: [tag]
depends_on:
- namespace
steps:
apply_configuration:
image: quay.io/wollud1969/k8s-admin-helper:0.3.4
environment:
KUBE_CONFIG_CONTENT:
from_secret: kube_config
NAMESPACE: "homea-ctrl-1"
commands:
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig
- kubectl create configmap pv-controller-config
--from-file=config.yaml=config/config.yaml
--namespace=$NAMESPACE
--dry-run=client -o yaml | kubectl apply -f -
- kubectl apply -f deployment/configmap.yaml -n $NAMESPACE