diff --git a/.woodpecker/ingress.yml b/.woodpecker/ingress.yml new file mode 100644 index 0000000..8e06181 --- /dev/null +++ b/.woodpecker/ingress.yml @@ -0,0 +1,20 @@ +when: + event: [tag] + +steps: + apply_ingress: + image: quay.io/wollud1969/k8s-admin-helper:0.3.4 + environment: + KUBE_CONFIG_CONTENT: + from_secret: kube_config + NAMESPACE: "homea2" + commands: + - printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig + - export KUBECONFIG=/tmp/kubeconfig + - kubectl apply -f deployment/ingress.yaml -n $NAMESPACE + when: + event: [tag] + ref: + exclude: + - refs/tags/*-configchange +