mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-06-25 14:42:47 +00:00
fix typos
This commit is contained in:
parent
669714d915
commit
0bfe296c53
@ -132,23 +132,23 @@ func (r *OSArtifactReconciler) genDeployment(artifact buildv1alpha1.OSArtifact)
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if artifact.GRUBConfig != "" {
|
if artifact.Spec.GRUBConfig != "" {
|
||||||
volumeMounts = append(volumeMounts, VolumeMount{
|
volumeMounts = append(volumeMounts, v1.VolumeMount{
|
||||||
Name: "config",
|
Name: "config",
|
||||||
MountPath: "/iso/iso-overlay/boot/grub2/grub.cfg",
|
MountPath: "/iso/iso-overlay/boot/grub2/grub.cfg",
|
||||||
SubPath: "grub.cfg",
|
SubPath: "grub.cfg",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if artifact.CloudConfig != "" {
|
if artifact.Spec.CloudConfig != "" {
|
||||||
volumeMounts = append(volumeMounts, VolumeMount{
|
volumeMounts = append(volumeMounts, v1.VolumeMount{
|
||||||
Name: "config",
|
Name: "config",
|
||||||
MountPath: "/iso/iso-overlay/cloud_config.yaml",
|
MountPath: "/iso/iso-overlay/cloud_config.yaml",
|
||||||
SubPath: "config",
|
SubPath: "config",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if artifacts.CloudConfig != "" || artifacts.GRUBConfig != "" {
|
if artifact.Spec.CloudConfig != "" || artifact.Spec.GRUBConfig != "" {
|
||||||
cmd = fmt.Sprintf(
|
cmd = fmt.Sprintf(
|
||||||
"/entrypoint.sh --debug --name %s build-iso --date=false --overlay-iso /iso/iso-overlay --output /public dir:/rootfs",
|
"/entrypoint.sh --debug --name %s build-iso --date=false --overlay-iso /iso/iso-overlay --output /public dir:/rootfs",
|
||||||
artifact.Name,
|
artifact.Name,
|
||||||
|
Loading…
Reference in New Issue
Block a user