Update 'yq/1.sh'

This commit is contained in:
sthope 2021-09-06 13:46:12 +02:00
parent 0b157e4289
commit 6b6570af75

View File

@ -1,4 +1,5 @@
#!/bin/bash
###################################
############ by Sthope ############
###################################
@ -21,4 +22,4 @@ yq eval '(.[] | select(. == "*.*.*.*")) |= "127.0.0.1"' secrets.yaml > fake_ips.
yq eval-all 'select(fi == 0) * select(filename == "fake_ips.yaml")' fake_pwds.yaml fake_ips.yaml > fake_secrets.yaml
### clean up..
rm fake_pwds.yaml fake_ips.yaml
rm fake_pwds.yaml fake_ips.yaml