diff --git a/cmd/tools/docs_gen/templates/templates.adoc.tmpl b/cmd/tools/docs_gen/templates/templates.adoc.tmpl index c5ce62fff7..ccbea8d3d3 100644 --- a/cmd/tools/docs_gen/templates/templates.adoc.tmpl +++ b/cmd/tools/docs_gen/templates/templates.adoc.tmpl @@ -22,7 +22,7 @@ A template is defined in a YAML file that can be imported when {page-component-t [source,bash] ---- -rpk connect run -t "./templates/*.yaml" -c ./config.yaml +rpk connect run -t "./templates/*.yaml" ./config.yaml ---- The template describes the type of the component and configuration fields that can be used to customize it, followed by a xref:guides:bloblang/about.adoc[Bloblang mapping] that translates an object containing those fields into a Redpanda Connect config structure. This allows you to use logic to generate more complex configurations: diff --git a/docs/modules/configuration/pages/templating.adoc b/docs/modules/configuration/pages/templating.adoc index d76cf5468b..6fe12f610c 100644 --- a/docs/modules/configuration/pages/templating.adoc +++ b/docs/modules/configuration/pages/templating.adoc @@ -22,7 +22,7 @@ A template is defined in a YAML file that can be imported when {page-component-t [source,bash] ---- -rpk connect run -t "./templates/*.yaml" -c ./config.yaml +rpk connect run -t "./templates/*.yaml" ./config.yaml ---- The template describes the type of the component and configuration fields that can be used to customize it, followed by a xref:guides:bloblang/about.adoc[Bloblang mapping] that translates an object containing those fields into a Redpanda Connect config structure. This allows you to use logic to generate more complex configurations: