From 18c97568ad120b034e626de0716a7e8da95c0539 Mon Sep 17 00:00:00 2001 From: Matt Conway Date: Fri, 27 Aug 2021 15:48:18 -0400 Subject: [PATCH] show output in filebased example --- examples/filebased/README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/examples/filebased/README.md b/examples/filebased/README.md index 5112bc6..a82e24d 100644 --- a/examples/filebased/README.md +++ b/examples/filebased/README.md @@ -51,3 +51,36 @@ kubectl logs deployment/kubetruth ``` kubectl describe configmap filetest ``` +results in + +``` +Name: filetest +Namespace: default +Labels: app.kubernetes.io/managed-by=kubetruth + version=51988e7 +Annotations: kubetruth/parameter_origins: + --- + bar.json/other: filetest + foo.yml/bar: filetest + foo.yml/baz/boo: filetest + foo.yml/baz/bum: filetest + kubetruth/project_heirarchy: + --- + filetest: {} + +Data +==== +foo.yml: +---- +--- +bar: hi +baz: + boo: yum + bum: fun + +bar.json: +---- +{"other":"myval"} + +Events: +``` \ No newline at end of file