From 0f3c4ee8b7ad0aae753e778f3f1bc8b4134ad7dc Mon Sep 17 00:00:00 2001 From: Matt Conway Date: Wed, 1 Dec 2021 14:37:48 -0500 Subject: [PATCH] fix multi env/ns docs --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d20f525..5ffd417 100644 --- a/README.md +++ b/README.md @@ -305,18 +305,22 @@ EOF To setup an environment per namespace: ``` -# Disable output from the primary (optional) +# Optionally disable output from the primary. This is only neccessary if +# kubetruth is installed to a namespace that you don't want to generate +# resources in kubectl patch pm kubetruth-root --type json --patch '[{"op": "replace", "path": "/spec/skip", "value": "true"}]' # Tag each namespace that you'd like to have its own environment +# The name should be the same name as the primary root mapping created by the +# kubetruth installer kubectl --namespace apply -f - < spec: scope: root - environment: loadtest + environment: skip: false EOF ```