From 6b6570af75814a383e3236d29e5b6d6feec96c17 Mon Sep 17 00:00:00 2001 From: sthope Date: Mon, 6 Sep 2021 13:46:12 +0200 Subject: [PATCH] Update 'yq/1.sh' --- yq/1.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yq/1.sh b/yq/1.sh index 4d0b171..a06bf16 100644 --- a/yq/1.sh +++ b/yq/1.sh @@ -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 \ No newline at end of file