diff --git a/control-plane/roles/metal/README.md b/control-plane/roles/metal/README.md index 0e7189b69..c3d269fef 100644 --- a/control-plane/roles/metal/README.md +++ b/control-plane/roles/metal/README.md @@ -89,6 +89,7 @@ You can look up all the default values of this role [here](defaults/main/main.ya | metal_api_partitions | | Creates partitions (as masterdata) to the metal-api after deployment | | metal_api_networks | | Creates networks (as masterdata) to the metal-api after deployment | | metal_api_ips | | Creates ips (as masterdata) to the metal-api after deployment | +| metal_api_filesystemlayouts | | Creates filesystemlayouts to the metal-api after deployment | | metal_api_resources | | Sets the given container resources | | metal_api_bmc_superuser_enabled | | Enables creating the BMC superuser and disabling the default one | | metal_api_bmc_superuser_pwd | | If enabled use this password for the new BMC superuser | diff --git a/control-plane/roles/metal/defaults/main/main.yaml b/control-plane/roles/metal/defaults/main/main.yaml index 3b40d9539..5b93fa866 100644 --- a/control-plane/roles/metal/defaults/main/main.yaml +++ b/control-plane/roles/metal/defaults/main/main.yaml @@ -56,6 +56,7 @@ metal_api_images: [] metal_api_partitions: [] metal_api_networks: [] metal_api_ips: [] +metal_api_filesystemlayouts: [] metal_api_resources: metal_api_s3_enabled: false metal_api_s3_address: diff --git a/control-plane/roles/metal/templates/metal-values.j2 b/control-plane/roles/metal/templates/metal-values.j2 index 06722654d..7d06d1b0d 100644 --- a/control-plane/roles/metal/templates/metal-values.j2 +++ b/control-plane/roles/metal/templates/metal-values.j2 @@ -123,6 +123,11 @@ metal_api: --- {{ entity | to_nice_yaml | indent(width=4, first=false) }} {% endfor %} + filesystemlayouts: | +{% for entity in metal_api_filesystemlayouts %} + --- + {{ entity | to_nice_yaml | indent(width=4, first=false) }} +{% endfor %} masterdata_api: provider_tenant: {{ metal_masterdata_api_provider_tenant }}