mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
bootstrapper: pass patches to kubeadm
This commit is contained in:
parent
070c23f876
commit
ce9e25c150
@ -54,6 +54,7 @@ func (c *KubdeadmConfiguration) InitConfiguration(externalCloudProvider bool, cl
|
||||
LocalAPIEndpoint: kubeadm.APIEndpoint{
|
||||
BindPort: constants.KubernetesPort,
|
||||
},
|
||||
Patches: &kubeadm.Patches{Directory: constants.KubeadmPatchDir},
|
||||
},
|
||||
// https://pkg.go.dev/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3#ClusterConfiguration
|
||||
ClusterConfiguration: kubeadm.ClusterConfiguration{
|
||||
@ -179,6 +180,7 @@ func (c *KubdeadmConfiguration) JoinConfiguration(externalCloudProvider bool) Ku
|
||||
Discovery: kubeadm.Discovery{
|
||||
BootstrapToken: &kubeadm.BootstrapTokenDiscovery{},
|
||||
},
|
||||
Patches: &kubeadm.Patches{Directory: constants.KubeadmPatchDir},
|
||||
},
|
||||
KubeletConfiguration: kubeletconf.KubeletConfiguration{
|
||||
TypeMeta: metav1.TypeMeta{
|
||||
|
Loading…
Reference in New Issue
Block a user