fix: auto rm temporary pod
This commit is contained in:
parent
ae810fcd69
commit
fae31e705d
@ -60,7 +60,7 @@ kcreatesec gitea-admin \
|
||||
--from-literal=username="$GITEA_USERNAME" \
|
||||
--from-literal=password="$GITEA_PASSWORD"
|
||||
|
||||
kubectl run --image "$IMAGEAPP" secrets sleep 60 & &> /dev/null
|
||||
kubectl run --rm --image "$IMAGEAPP" secrets sleep 60 & &> /dev/null
|
||||
sleep 5
|
||||
kubectl wait --timeout=5m --for=condition=ready pod secrets
|
||||
kcreatesec gitea \
|
||||
|
Loading…
Reference in New Issue
Block a user