From 94e26ccb5c1c5d20d898ab232002b8cc5c158cd6 Mon Sep 17 00:00:00 2001 From: ssube Date: Sun, 30 Jun 2019 19:26:35 -0500 Subject: [PATCH] docs: fix tags --- Makefile | 5 ++--- README.md | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index aebef2c..cd8f3ea 100755 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ run-rules: ## validate the rules directory --config-name config-stderr.yml \ --rules $(ROOT_PATH)/rules/salty-dog.yml \ --source $${file} \ - --tag important > /dev/null || exit 1; \ + --tag salty-dog > /dev/null || exit 1; \ done run-stream: ## validate stdin and write it to stdout, errors to stderr @@ -142,5 +142,4 @@ run-stream: ## validate stdin and write it to stdout, errors to stderr --format yaml \ --rules $(ROOT_PATH)/rules/kubernetes.yml \ --source - \ - --tag important \ - --tag optional \ No newline at end of file + --tag kubernetes \ No newline at end of file diff --git a/README.md b/README.md index fcfb402..47b70be 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ To download, validate, and apply a Kubernetes resource: salty-dog \ --rules rules/kubernetes.yml \ --source - \ - --tag important | \ + --tag kubernetes | \ kubectl apply --dry-run -f - ... @@ -164,14 +164,14 @@ document will be printed to `--dest`. ```shell > cat examples/kubernetes-resources-pass.yml | salty-dog \ --rules rules/kubernetes.yml \ - --tag important + --tag kubernetes ... [2019-06-15T23:53:34.223Z] INFO: salty-dog/19839 on cerberus: all rules passed > cat examples/kubernetes-resources-fail.yml | salty-dog \ --rules rules/kubernetes.yml \ - --tag important + --tag kubernetes ... [2019-06-15T23:56:04.764Z] ERROR: salty-dog/22211 on cerberus: some rules failed (errors=1) @@ -183,7 +183,7 @@ The `--source` and `--dest` default to stdin and stdout, respectively, but a pat ```shell > salty-dog \ --rules rules/kubernetes.yml \ - --tag important \ + --tag kubernetes \ --source examples/kubernetes-resources-pass.yml \ --dest /tmp/kubernetes-resource.yml @@ -215,7 +215,7 @@ is documented by Ajv. ```shell > salty-dog \ --rules rules/kubernetes.yml \ - --tag important \ + --tag kubernetes \ --mode list ...