Add osRelease field

This commit is contained in:
Ettore Di Giacinto
2022-09-09 15:09:20 +00:00
parent b3e7dcbf59
commit 680907ab43
4 changed files with 21 additions and 11 deletions

View File

@@ -32,7 +32,8 @@ func (r *OSArtifactReconciler) genConfigMap(artifact buildv1alpha1.OSArtifact) *
OwnerReferences: genOwner(artifact),
},
Data: map[string]string{
"config": artifact.Spec.CloudConfig,
"grub.cfg": artifact.Spec.GRUBConfig,
"config": artifact.Spec.CloudConfig,
"grub.cfg": artifact.Spec.GRUBConfig,
"os-release": artifact.Spec.OSRelease,
}}
}