use dryrun instead of kubeval

This commit is contained in:
jem 2021-06-22 09:21:07 +02:00
parent 5ca982426e
commit c43f354009

View file

@ -57,6 +57,6 @@ kubectl get pods
## deploy mastodon-bot
```
java -jar target/uberjar/k8s-mastodon-bot-standalone.jar myconfig.edn myauth.edn | kubeval -
java -jar target/uberjar/k8s-mastodon-bot-standalone.jar myconfig.edn myauth.edn | kubectl apply --dry-run=client -f -
java -jar target/uberjar/k8s-mastodon-bot-standalone.jar myconfig.edn myauth.edn | kubectl apply -f -
```