example k8s pipeline

This commit is contained in:
Waylon Walker 2023-11-05 14:31:57 -06:00
parent 82ba3bc778
commit 6fef7854ac
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
4 changed files with 113 additions and 0 deletions

9
python-jobs/justfile Normal file
View file

@ -0,0 +1,9 @@
build:
podman build . -t registry.wayl.one/dummypipe:alpine
push:
podman push registry.wayl.one/dummypipe:alpine
create-ns:
kubectl create ns jobrunner
regcred:
kubectl get secret -n default regcred --output=yaml -o yaml | sed 's/namespace: default/namespace: jobrunner/' | kubectl apply -n jobrunner -f - && echo deployed secret || echo secret exists