From de824ca447643f2d49372976a7e707beb716a8e4 Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Tue, 14 Nov 2023 16:52:17 +0100 Subject: [PATCH] Document `additional_facts` parameter --- .../ROOT/pages/references/parameters.adoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/modules/ROOT/pages/references/parameters.adoc b/docs/modules/ROOT/pages/references/parameters.adoc index 27efdaf..fd09cce 100644 --- a/docs/modules/ROOT/pages/references/parameters.adoc +++ b/docs/modules/ROOT/pages/references/parameters.adoc @@ -57,6 +57,25 @@ defaults:: https://github.com/projectsyn/component-steward/blob/master/class/def The Steward and ArgoCD container image versions which the component should use. +== `additional_facts` + +[horizontal] +type:: dict +default:: `{}` +example:: ++ +[source,yaml] +---- +additional_facts: + myIdFromHierarchy: mx7bMF3VIfVpGhMZDnoW65oG08Wv9ICYXetH5DNM + glusterVersion: + major: 11 + minor: 1 +---- + +Additional facts to be added to the dynamic facts Steward provides to Lieutenant. +Objects are serialized to JSON. + == Example [source,yaml]