-
Notifications
You must be signed in to change notification settings - Fork 272
/
hostosconfig_types.go
32 lines (25 loc) 路 1.18 KB
/
hostosconfig_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package v1alpha1
import "sigs.k8s.io/cluster-api/bootstrap/kubeadm/api/v1beta1"
// HostOSConfiguration defines the configuration settings on the host OS.
type HostOSConfiguration struct {
// +optional
NTPConfiguration *NTPConfiguration `json:"ntpConfiguration,omitempty"`
// +optional
BottlerocketConfiguration *BottlerocketConfiguration `json:"bottlerocketConfiguration,omitempty"`
}
// NTPConfiguration defines the NTP configuration on the host OS.
type NTPConfiguration struct {
// Servers defines a list of NTP servers to be configured on the host OS.
Servers []string `json:"servers"`
}
// BottlerocketConfiguration defines the Bottlerocket configuration on the host OS.
// These settings only take effect when the `osFamily` is bottlerocket.
type BottlerocketConfiguration struct {
// Kubernetes defines the Kubernetes settings on the host OS.
// +optional
Kubernetes *v1beta1.BottlerocketKubernetesSettings `json:"kubernetes,omitempty"`
// Kernel defines the kernel settings for bottlerocket.
Kernel *v1beta1.BottlerocketKernelSettings `json:"kernel,omitempty"`
// Boot defines the boot settings for bottlerocket.
Boot *v1beta1.BottlerocketBootSettings `json:"boot,omitempty"`
}