fix: kubectl run --rm needs --attach
This commit is contained in:
parent
fae31e705d
commit
cb6513b6a3
@ -60,7 +60,7 @@ kcreatesec gitea-admin \
|
||||
--from-literal=username="$GITEA_USERNAME" \
|
||||
--from-literal=password="$GITEA_PASSWORD"
|
||||
|
||||
kubectl run --rm --image "$IMAGEAPP" secrets sleep 60 & &> /dev/null
|
||||
kubectl run --rm --attach --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