Add network-config to CRD.
Some checks failed
Java CI with Gradle / build (push) Has been cancelled

This commit is contained in:
Michael Lipp 2024-02-21 22:21:32 +01:00
parent 413f8f76dc
commit 639e315769
2 changed files with 7 additions and 0 deletions

View file

@ -980,6 +980,10 @@ spec:
description: Copied to cloud-init's user-data file. description: Copied to cloud-init's user-data file.
type: object type: object
x-kubernetes-preserve-unknown-fields: true x-kubernetes-preserve-unknown-fields: true
networkConfig:
description: Copied to cloud-init's network-config file.
type: object
x-kubernetes-preserve-unknown-fields: true
vm: vm:
type: object type: object
description: Defines the VM. description: Defines the VM.

View file

@ -58,6 +58,9 @@ data:
<#else> <#else>
userData: {} userData: {}
</#if> </#if>
<#if cr.spec.cloudInit.networkConfig??>
networkConfig: ${ cr.spec.cloudInit.networkConfig.toString() }
</#if>
</#if> </#if>
# Define the VM (required) # Define the VM (required)