Kuberentes ns, deploy & service files

This commit is contained in:
2023-11-04 23:24:51 +01:00
parent 114a715285
commit d4cb81397f
4 changed files with 63 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ steps:
commands:
- mkdir -p /root/.kube
- echo $KUBE_CONFIG | base64 -di > /root/.kube/config
- kubectl --kubeconfig=/root/.kube/config get pods
- kubectl --kubeconfig=/root/.kube/config apply -f .kubernetes
environment:
KUBE_CONFIG:
from_secret: KUBE_CONFIG