What would you like to be added (User Story)?
As a cluster admin I would like to add files with defer set, so they are written after a disk is mounted.
(And any other reasons why one would want to use defer in write_files of cloud-init)
Detailed Description
Basically, add a 'defer' field here:
and then copy the value of that field to the 'defer' field of write_files in the cloud-init config (here, I think?
|
write_files:{{ range . }} |
)
Anything else you would like to add?
No response
Label(s) to be applied
/kind feature
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.
What would you like to be added (User Story)?
As a cluster admin I would like to add files with defer set, so they are written after a disk is mounted.
(And any other reasons why one would want to use defer in write_files of cloud-init)
Detailed Description
Basically, add a 'defer' field here:
cluster-api/api/bootstrap/kubeadm/v1beta1/kubeadmconfig_types.go
Line 303 in f7dd2c7
and then copy the value of that field to the 'defer' field of write_files in the cloud-init config (here, I think?
cluster-api/bootstrap/kubeadm/pkg/cloudinit/files.go
Line 21 in f7dd2c7
Anything else you would like to add?
No response
Label(s) to be applied
/kind feature
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.