mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-09 15:32:46 -04:00
bootstrapper: pass patches to kubeadm
This commit is contained in:
parent
6a3ba6f967
commit
32d4f80de1
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ func (c *KubdeadmConfiguration) InitConfiguration(externalCloudProvider bool, cl
|
|||
LocalAPIEndpoint: kubeadm.APIEndpoint{
|
||||
BindPort: constants.KubernetesPort,
|
||||
},
|
||||
Patches: &kubeadm.Patches{Directory: "/opt/kubernetes/patches"},
|
||||
},
|
||||
// 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: "/opt/kubernetes/patches"},
|
||||
},
|
||||
KubeletConfiguration: kubeletconf.KubeletConfiguration{
|
||||
TypeMeta: metav1.TypeMeta{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue