From 3f39a040e18e0480cc66de816ef4f535635e6e4b Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Sun, 18 Feb 2024 13:46:32 +0100 Subject: [PATCH] Update. --- controller.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/controller.md b/controller.md index dbbc3f96a..1cdb532e3 100644 --- a/controller.md +++ b/controller.md @@ -134,7 +134,7 @@ that have the same major release number are guaranteed to be compatible. ## Generating cloud-init data -*Added in version 2.3* +*Since: 2.3.0* The optional object `.spec.cloudInit` with sub-objects `.cloudInit.metaData` and `.cloudInit.userData` can be used to provide data for @@ -148,6 +148,12 @@ generates it from the CRD's `resourceVersion`. If `.metaData.local-hostname` is not defined, the controller adds this property using the value from `metadata.name`. +Note that there is no schema definition available for `.userData`. +Whatever is defined in the CRD is copied to the corresponding +cloud-init file without any checks. (The introductory comment +`#cloud-config` required in that file is generated automatically by +the runner.) + ## Further reading For a detailed description of the available configuration options see the