Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
9c099e44af
|
|||
|
9c17a73605
|
|||
|
a389edcd87
|
|||
|
17c9bca8d1
|
|||
|
c4fc21d760
|
23
.woodpecker/ingress.yml
Normal file
23
.woodpecker/ingress.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
when:
|
||||
event: [tag]
|
||||
|
||||
depends_on:
|
||||
- deploy
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user