Description
Describe the Bug
scheduler_extra_arguments for v1beta3 doesn't pick up the values as the template uses scheduler_merged_extra_arguments which is not specified anywhere other than in the template.
puppetlabs-kubernetes/templates/v1beta3/config_kubeadm.yaml.erb
Lines 87 to 92 in 02aa06d
Expected Behavior
scheduler_extra_arguments should populate the extraArgs values in /etc/kubernetes/config.yaml
It looks like in https://github.com/puppetlabs/puppetlabs-kubernetes/blob/02aa06d0dc451c8ddf23e4fc18f938dff767d685/manifests/config/kubeadm.pp
below part (or something similar) is missing
$scheduler_merged_extra_arguments = concat($scheduler_extra_arguments, $cloud_args)
Steps to Reproduce
In a kubernetes cluster > 1.21 add scheduler_extra_arguments. The scheduler extraArgs will not be populated.
For more details please check this part of the kubeadm manifest.
puppetlabs-kubernetes/manifests/config/kubeadm.pp
Lines 348 to 381 in 02aa06d
Environment
- Version 1.23.10
- Platform Ubuntu 22.04
Additional Context
n/a