Skip to content

update how KubeadmConfigTemplates are linked to machine deployments#25

Open
MGudin wants to merge 2 commits intomainfrom
ft/capi-cloudstack-kubeadm
Open

update how KubeadmConfigTemplates are linked to machine deployments#25
MGudin wants to merge 2 commits intomainfrom
ft/capi-cloudstack-kubeadm

Conversation

@MGudin
Copy link

@MGudin MGudin commented Feb 20, 2026

Currently the key kubeadm holds configuration to kubadm for all
cluster machines. That implies that changing the kubeadm impacts in
all machine deployments (including control planes).

Add support to set custom kubeadmconfig per machine deployment; so, when
needed, custom configs can be applied to each machinedeployment
independently

Matias Gudin added 2 commits February 20, 2026 13:04
Currently the key `kubeadm` holds configuration to kubadm for all
cluster machines. That implies that changing the kubeadm impacts in
**all** machine deployments (including control planes).

Add support to set custom kubeadmconfig per machine deployment; so, when
needed, custom configs can be applied to each machinedeployment
independently
users: {{ toYaml $kadmconfig.users | nindent 8 }}
{{ end }}
joinConfiguration:
{{- toYaml (required ".Values.kubeadm.joinConfiguration"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this message be updated?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general at the event of no defining any spec on the machine deploy the general kubeadm configs will be applied. This line does the trick

It can be a good place to harden a litle bit control planes or any other machine deploy granting different users access to those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants