diff --git a/addons/unattended-upgrades/README.md b/addons/unattended-upgrades/README.md index 9cd91dde6..27a714bbd 100644 --- a/addons/unattended-upgrades/README.md +++ b/addons/unattended-upgrades/README.md @@ -15,9 +15,9 @@ This addon provides bunch of DaemonSets and operators: * **Debian/Ubuntu** DaemonSet that will install `unattended-upgrades` -* **RHEL/CentOS/Rocky Linux/Amazon Linux 2** +* **RHEL/CentOS/Rocky Linux/Amazon Linux 2/Oracle Linux** DaemonSet that will install and configure `yum-cron`/`dnf-automatic` -* **Debian/Ubuntu/RHEL/CentOS/Rocky Linux/Amazon Linux 2** +* **Debian/Ubuntu/RHEL/CentOS/Rocky Linux/Amazon Linux 2/Oracle Linux** [Kured](https://github.com/weaveworks/kured) (DaemonSet and operator) that will orchestrate node rebootes in case when it's required (kernel upgrades) * **Flatcar Linux** diff --git a/addons/unattended-upgrades/kured.yaml b/addons/unattended-upgrades/kured.yaml index 8aaf5b8d2..af3c89f5f 100644 --- a/addons/unattended-upgrades/kured.yaml +++ b/addons/unattended-upgrades/kured.yaml @@ -96,6 +96,7 @@ spec: - centos - rhel - rockylinux + - ol - ubuntu - matchExpressions: - key: v1.kubeone.io/operating-system @@ -106,6 +107,7 @@ spec: - debian - rhel - rockylinux + - ol - ubuntu serviceAccountName: kured tolerations: diff --git a/addons/unattended-upgrades/yum.yaml b/addons/unattended-upgrades/yum.yaml index 10f51fe96..9f35d0ee8 100644 --- a/addons/unattended-upgrades/yum.yaml +++ b/addons/unattended-upgrades/yum.yaml @@ -27,6 +27,7 @@ spec: - centos - rhel - rockylinux + - ol - matchExpressions: - key: v1.kubeone.io/operating-system operator: In @@ -35,6 +36,7 @@ spec: - centos - rhel - rockylinux + - ol tolerations: - key: node-role.kubernetes.io/control-plane effect: NoSchedule @@ -69,7 +71,7 @@ spec: sed -i 's/update_cmd = default/update_cmd = security/' /etc/yum/yum-cron.conf systemctl enable --now yum-cron ;; - centos8 | rhel8* | rocky8*) + centos8 | rhel8* | rocky8* | ol8*) dnf install -y dnf-automatic sed -i 's/apply_updates = no/apply_updates = yes/' /etc/dnf/automatic.conf sed -i 's/upgrade_type = default/upgrade_type = security/' /etc/dnf/automatic.conf diff --git a/examples/terraform/aws/README.md b/examples/terraform/aws/README.md index 4a108fc42..0b4c2d29d 100644 --- a/examples/terraform/aws/README.md +++ b/examples/terraform/aws/README.md @@ -56,7 +56,7 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [ami](#input\_ami) | AMI ID, use it to fixate control-plane AMI in order to avoid force-recreation it at later times | `string` | `""` | no | -| [ami\_filters](#input\_ami\_filters) | map with AMI filters |
map(object({
owners = list(string)
image_name = list(string)
ssh_username = string
worker_os = string
})) | {
"amzn": {
"image_name": [
"amzn2-ami-hvm-2.0.*-x86_64-gp2"
],
"owners": [
"137112412989"
],
"ssh_username": "ec2-user",
"worker_os": "amzn2"
},
"centos": {
"image_name": [
"CentOS Linux 7 x86_64*"
],
"owners": [
"125523088429"
],
"ssh_username": "centos",
"worker_os": "centos"
},
"flatcar": {
"image_name": [
"Flatcar-stable-*-hvm"
],
"owners": [
"075585003325"
],
"ssh_username": "core",
"worker_os": "flatcar"
},
"rhel": {
"image_name": [
"RHEL-8*_HVM-*-x86_64-*"
],
"owners": [
"309956199498"
],
"ssh_username": "ec2-user",
"worker_os": "rhel"
},
"rockylinux": {
"image_name": [
"Rocky-8-ec2-*.x86_64"
],
"owners": [
"792107900819"
],
"ssh_username": "rocky",
"worker_os": "rockylinux"
},
"ubuntu": {
"image_name": [
"ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"
],
"owners": [
"099720109477"
],
"ssh_username": "ubuntu",
"worker_os": "ubuntu"
}
} | no |
+| [ami\_filters](#input\_ami\_filters) | map with AMI filters | map(object({
owners = list(string)
image_name = list(string)
ssh_username = string
worker_os = string
})) | {
"amzn": {
"image_name": [
"amzn2-ami-hvm-2.0.*-x86_64-gp2"
],
"owners": [
"137112412989"
],
"ssh_username": "ec2-user",
"worker_os": "amzn2"
},
"centos": {
"image_name": [
"CentOS Linux 7 x86_64*"
],
"owners": [
"125523088429"
],
"ssh_username": "centos",
"worker_os": "centos"
},
"flatcar": {
"image_name": [
"Flatcar-stable-*-hvm"
],
"owners": [
"075585003325"
],
"ssh_username": "core",
"worker_os": "flatcar"
},
"rhel": {
"image_name": [
"RHEL-8*_HVM-*-x86_64-*"
],
"owners": [
"309956199498"
],
"ssh_username": "ec2-user",
"worker_os": "rhel"
},
"rockylinux": {
"image_name": [
"Rocky-8-ec2-*.x86_64"
],
"owners": [
"792107900819"
],
"ssh_username": "rocky",
"worker_os": "rockylinux"
},
"oraclelinux": {
"image_name": [
"Oracle Linux 8 *.x86_64"
],
"owners": [
"131827586825"
],
"ssh_username": "ec2-user",
"worker_os": "oraclelinux"
},
"ubuntu": {
"image_name": [
"ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"
],
"owners": [
"099720109477"
],
"ssh_username": "ubuntu",
"worker_os": "ubuntu"
}
} | no |
| [apiserver\_alternative\_names](#input\_apiserver\_alternative\_names) | subject alternative names for the API Server signing cert. | `list(string)` | `[]` | no |
| [aws\_region](#input\_aws\_region) | AWS region to speak to | `string` | `"eu-west-3"` | no |
| [bastion\_host\_key](#input\_bastion\_host\_key) | Bastion SSH host public key | `string` | `null` | no |
diff --git a/examples/terraform/aws/variables.tf b/examples/terraform/aws/variables.tf
index 404c0e644..edc1b9e6e 100644
--- a/examples/terraform/aws/variables.tf
+++ b/examples/terraform/aws/variables.tf
@@ -40,6 +40,7 @@ variable "worker_os" {
# * rhel
# * amzn2
# * rockylinux
+ # * ol
default = ""
type = string
}
diff --git a/examples/terraform/azure/variables.tf b/examples/terraform/azure/variables.tf
index c71801a5b..202c46ba6 100644
--- a/examples/terraform/azure/variables.tf
+++ b/examples/terraform/azure/variables.tf
@@ -37,6 +37,7 @@ variable "os" {
# * ubuntu
# * centos
# * rockylinux
+ # * ol
# * rhel
# * flatcar
default = "ubuntu"
@@ -50,6 +51,7 @@ variable "worker_os" {
# * ubuntu
# * centos
# * rockylinux
+ # * ol
# * rhel
# * flatcar
default = ""
diff --git a/pkg/apis/kubeone/helpers.go b/pkg/apis/kubeone/helpers.go
index 1a8a00668..20f940daa 100644
--- a/pkg/apis/kubeone/helpers.go
+++ b/pkg/apis/kubeone/helpers.go
@@ -104,6 +104,7 @@ func (osName OperatingSystemName) IsValid() bool {
case OperatingSystemNameCentOS:
case OperatingSystemNameRHEL:
case OperatingSystemNameRockyLinux:
+ case OperatingSystemNameOracleLinux:
case OperatingSystemNameAmazon:
case OperatingSystemNameFlatcar:
case OperatingSystemNameUnknown:
diff --git a/pkg/apis/kubeone/types.go b/pkg/apis/kubeone/types.go
index 647e784e4..67c72aae3 100644
--- a/pkg/apis/kubeone/types.go
+++ b/pkg/apis/kubeone/types.go
@@ -186,14 +186,15 @@ type ContainerdTLSConfig struct {
type OperatingSystemName string
const (
- OperatingSystemNameUbuntu OperatingSystemName = "ubuntu"
- OperatingSystemNameDebian OperatingSystemName = "debian"
- OperatingSystemNameCentOS OperatingSystemName = "centos"
- OperatingSystemNameRHEL OperatingSystemName = "rhel"
- OperatingSystemNameRockyLinux OperatingSystemName = "rockylinux"
- OperatingSystemNameAmazon OperatingSystemName = "amzn"
- OperatingSystemNameFlatcar OperatingSystemName = "flatcar"
- OperatingSystemNameUnknown OperatingSystemName = ""
+ OperatingSystemNameUbuntu OperatingSystemName = "ubuntu"
+ OperatingSystemNameDebian OperatingSystemName = "debian"
+ OperatingSystemNameCentOS OperatingSystemName = "centos"
+ OperatingSystemNameRHEL OperatingSystemName = "rhel"
+ OperatingSystemNameRockyLinux OperatingSystemName = "rockylinux"
+ OperatingSystemNameOracleLinux OperatingSystemName = "ol"
+ OperatingSystemNameAmazon OperatingSystemName = "amzn"
+ OperatingSystemNameFlatcar OperatingSystemName = "flatcar"
+ OperatingSystemNameUnknown OperatingSystemName = ""
)
// HostConfig describes a single control plane node.
diff --git a/pkg/apis/kubeone/v1beta2/types.go b/pkg/apis/kubeone/v1beta2/types.go
index 14f95c3cd..376c3ba81 100644
--- a/pkg/apis/kubeone/v1beta2/types.go
+++ b/pkg/apis/kubeone/v1beta2/types.go
@@ -183,14 +183,15 @@ type ContainerdTLSConfig struct {
type OperatingSystemName string
const (
- OperatingSystemNameUbuntu OperatingSystemName = "ubuntu"
- OperatingSystemNameDebian OperatingSystemName = "debian"
- OperatingSystemNameCentOS OperatingSystemName = "centos"
- OperatingSystemNameRHEL OperatingSystemName = "rhel"
- OperatingSystemNameRockyLinux OperatingSystemName = "rockylinux"
- OperatingSystemNameAmazon OperatingSystemName = "amzn"
- OperatingSystemNameFlatcar OperatingSystemName = "flatcar"
- OperatingSystemNameUnknown OperatingSystemName = ""
+ OperatingSystemNameUbuntu OperatingSystemName = "ubuntu"
+ OperatingSystemNameDebian OperatingSystemName = "debian"
+ OperatingSystemNameCentOS OperatingSystemName = "centos"
+ OperatingSystemNameRHEL OperatingSystemName = "rhel"
+ OperatingSystemNameRockyLinux OperatingSystemName = "rockylinux"
+ OperatingSystemNameOracleLinux OperatingSystemName = "ol"
+ OperatingSystemNameAmazon OperatingSystemName = "amzn"
+ OperatingSystemNameFlatcar OperatingSystemName = "flatcar"
+ OperatingSystemNameUnknown OperatingSystemName = ""
)
// HostConfig describes a single control plane node.
diff --git a/pkg/cmd/initcmd/providers.go b/pkg/cmd/initcmd/providers.go
index a67d3bd77..36de7dfbb 100644
--- a/pkg/cmd/initcmd/providers.go
+++ b/pkg/cmd/initcmd/providers.go
@@ -57,6 +57,10 @@ var (
Name: "Rocky Linux",
Value: "rockylinux",
}
+ osOracleLinux = terraformVariableChoice{
+ Name: "Oracle Linux",
+ Value: "rockylinux",
+ }
osRHEL = terraformVariableChoice{
Name: "Red Hat Enterprise Linux (RHEL)",
Value: "rhel",
@@ -82,7 +86,7 @@ var (
Name: "os",
Description: "Operating system to use for this cluster",
DefaultValue: osUbuntu.Name,
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osRHEL, osFlatcar, osAmazonLinux2},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux, osRHEL, osFlatcar, osAmazonLinux2},
},
},
workerPerAZ: true,
@@ -114,7 +118,7 @@ var (
Name: "os",
Description: "Operating system to use for this cluster",
DefaultValue: osUbuntu.Name,
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osRHEL, osFlatcar},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux, osRHEL, osFlatcar},
},
},
},
@@ -127,7 +131,7 @@ var (
Name: "os",
Description: "Operating system to use for this cluster",
DefaultValue: osUbuntu.Name,
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux},
},
},
},
@@ -146,7 +150,7 @@ var (
Name: "os",
Description: "Operating system to use for this cluster",
DefaultValue: osUbuntu.Name,
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osFlatcar},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux, osFlatcar},
},
},
},
@@ -169,7 +173,7 @@ var (
Name: "os",
Description: "Operating system to use for this cluster",
DefaultValue: osUbuntu.Name,
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux},
},
},
},
@@ -203,7 +207,7 @@ var (
Name: "worker_os",
Description: "Operating system of the provided image",
DefaultValue: osUbuntu.Name,
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osRHEL, osFlatcar, osAmazonLinux2},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux, osRHEL, osFlatcar, osAmazonLinux2},
},
},
},
@@ -230,7 +234,7 @@ var (
Name: "worker_os",
Description: "Operating system of the provided image",
DefaultValue: osUbuntu.Name,
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osRHEL, osFlatcar, osAmazonLinux2},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux, osRHEL, osFlatcar, osAmazonLinux2},
},
},
cloudConfig: heredoc.Doc(`
@@ -273,7 +277,7 @@ var (
Name: "worker_os",
Description: "Operating system of the provided image",
DefaultValue: "Ubuntu",
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osRHEL, osFlatcar, osAmazonLinux2},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux, osRHEL, osFlatcar, osAmazonLinux2},
},
},
},
@@ -304,7 +308,7 @@ var (
Name: "worker_os",
Description: "Operating system of the provided image",
DefaultValue: "Ubuntu",
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osRHEL, osFlatcar, osAmazonLinux2},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux, osRHEL, osFlatcar, osAmazonLinux2},
},
},
cloudConfig: heredoc.Doc(`
@@ -370,7 +374,7 @@ var (
Name: "worker_os",
Description: "Operating system of the provided image",
DefaultValue: "Ubuntu",
- Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osRHEL, osFlatcar, osAmazonLinux2},
+ Choices: []terraformVariableChoice{osUbuntu, osCentos, osRockyLinux, osOracleLinux, osRHEL, osFlatcar, osAmazonLinux2},
},
},
cloudConfig: heredoc.Doc(`
diff --git a/pkg/tasks/kubernetes_binaries.go b/pkg/tasks/kubernetes_binaries.go
index abefad47e..e0fd983d9 100644
--- a/pkg/tasks/kubernetes_binaries.go
+++ b/pkg/tasks/kubernetes_binaries.go
@@ -31,6 +31,7 @@ func upgradeKubeletAndKubectlBinaries(s *state.State, node kubeoneapi.HostConfig
kubeoneapi.OperatingSystemNameFlatcar: upgradeKubeletAndKubectlBinariesFlatcar,
kubeoneapi.OperatingSystemNameRHEL: upgradeKubeletAndKubectlBinariesCentOS,
kubeoneapi.OperatingSystemNameRockyLinux: upgradeKubeletAndKubectlBinariesCentOS,
+ kubeoneapi.OperatingSystemNameOracleLinux: upgradeKubeletAndKubectlBinariesCentOS,
kubeoneapi.OperatingSystemNameUbuntu: upgradeKubeletAndKubectlBinariesDebian,
})
}
@@ -43,6 +44,7 @@ func upgradeKubeadmAndCNIBinaries(s *state.State, node kubeoneapi.HostConfig) er
kubeoneapi.OperatingSystemNameFlatcar: upgradeKubeadmAndCNIBinariesFlatcar,
kubeoneapi.OperatingSystemNameRHEL: upgradeKubeadmAndCNIBinariesCentOS,
kubeoneapi.OperatingSystemNameRockyLinux: upgradeKubeadmAndCNIBinariesCentOS,
+ kubeoneapi.OperatingSystemNameOracleLinux: upgradeKubeadmAndCNIBinariesCentOS,
kubeoneapi.OperatingSystemNameUbuntu: upgradeKubeadmAndCNIBinariesDebian,
})
}
diff --git a/pkg/tasks/nodes.go b/pkg/tasks/nodes.go
index 0e834dd8f..1ec2468bf 100644
--- a/pkg/tasks/nodes.go
+++ b/pkg/tasks/nodes.go
@@ -54,25 +54,27 @@ func ensureRestartKubeAPIServer(s *state.State) error {
func restartKubeAPIServerOnOS(s *state.State, node kubeoneapi.HostConfig) error {
return runOnOS(s, node.OperatingSystem, map[kubeoneapi.OperatingSystemName]runOnOSFn{
- kubeoneapi.OperatingSystemNameAmazon: restartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameCentOS: restartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameDebian: restartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameFlatcar: restartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameRHEL: restartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameRockyLinux: restartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameUbuntu: restartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameAmazon: restartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameCentOS: restartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameDebian: restartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameFlatcar: restartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameRHEL: restartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameRockyLinux: restartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameOracleLinux: restartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameUbuntu: restartKubeAPIServerCrictl,
})
}
func ensureRestartKubeAPIServerOnOS(s *state.State, node kubeoneapi.HostConfig) error {
return runOnOS(s, node.OperatingSystem, map[kubeoneapi.OperatingSystemName]runOnOSFn{
- kubeoneapi.OperatingSystemNameAmazon: ensureRestartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameCentOS: ensureRestartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameDebian: ensureRestartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameFlatcar: ensureRestartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameRHEL: ensureRestartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameRockyLinux: ensureRestartKubeAPIServerCrictl,
- kubeoneapi.OperatingSystemNameUbuntu: ensureRestartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameAmazon: ensureRestartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameCentOS: ensureRestartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameDebian: ensureRestartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameFlatcar: ensureRestartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameRHEL: ensureRestartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameRockyLinux: ensureRestartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameOracleLinux: ensureRestartKubeAPIServerCrictl,
+ kubeoneapi.OperatingSystemNameUbuntu: ensureRestartKubeAPIServerCrictl,
})
}
diff --git a/pkg/tasks/prerequisites.go b/pkg/tasks/prerequisites.go
index 0bebe62f3..b52fd729e 100644
--- a/pkg/tasks/prerequisites.go
+++ b/pkg/tasks/prerequisites.go
@@ -194,13 +194,14 @@ func disableNMCloudSetup(s *state.State, node *kubeoneapi.HostConfig, _ executor
func installKubeadm(s *state.State, node kubeoneapi.HostConfig) error {
return runOnOS(s, node.OperatingSystem, map[kubeoneapi.OperatingSystemName]runOnOSFn{
- kubeoneapi.OperatingSystemNameAmazon: installKubeadmAmazonLinux,
- kubeoneapi.OperatingSystemNameCentOS: installKubeadmCentOS,
- kubeoneapi.OperatingSystemNameDebian: installKubeadmDebian,
- kubeoneapi.OperatingSystemNameFlatcar: installKubeadmFlatcar,
- kubeoneapi.OperatingSystemNameRHEL: installKubeadmCentOS,
- kubeoneapi.OperatingSystemNameRockyLinux: installKubeadmCentOS,
- kubeoneapi.OperatingSystemNameUbuntu: installKubeadmDebian,
+ kubeoneapi.OperatingSystemNameAmazon: installKubeadmAmazonLinux,
+ kubeoneapi.OperatingSystemNameCentOS: installKubeadmCentOS,
+ kubeoneapi.OperatingSystemNameDebian: installKubeadmDebian,
+ kubeoneapi.OperatingSystemNameFlatcar: installKubeadmFlatcar,
+ kubeoneapi.OperatingSystemNameRHEL: installKubeadmCentOS,
+ kubeoneapi.OperatingSystemNameRockyLinux: installKubeadmCentOS,
+ kubeoneapi.OperatingSystemNameOracleLinux: installKubeadmCentOS,
+ kubeoneapi.OperatingSystemNameUbuntu: installKubeadmDebian,
})
}
diff --git a/pkg/tasks/reset.go b/pkg/tasks/reset.go
index f696f2f9f..052d370ec 100644
--- a/pkg/tasks/reset.go
+++ b/pkg/tasks/reset.go
@@ -136,13 +136,14 @@ func removeBinaries(s *state.State, node *kubeoneapi.HostConfig, _ executor.Inte
}
return runOnOS(s, node.OperatingSystem, map[kubeoneapi.OperatingSystemName]runOnOSFn{
- kubeoneapi.OperatingSystemNameAmazon: removeBinariesAmazonLinux,
- kubeoneapi.OperatingSystemNameCentOS: removeBinariesCentOS,
- kubeoneapi.OperatingSystemNameDebian: removeBinariesDebian,
- kubeoneapi.OperatingSystemNameFlatcar: removeBinariesFlatcar,
- kubeoneapi.OperatingSystemNameRHEL: removeBinariesCentOS,
- kubeoneapi.OperatingSystemNameRockyLinux: removeBinariesCentOS,
- kubeoneapi.OperatingSystemNameUbuntu: removeBinariesDebian,
+ kubeoneapi.OperatingSystemNameAmazon: removeBinariesAmazonLinux,
+ kubeoneapi.OperatingSystemNameCentOS: removeBinariesCentOS,
+ kubeoneapi.OperatingSystemNameDebian: removeBinariesDebian,
+ kubeoneapi.OperatingSystemNameFlatcar: removeBinariesFlatcar,
+ kubeoneapi.OperatingSystemNameRHEL: removeBinariesCentOS,
+ kubeoneapi.OperatingSystemNameRockyLinux: removeBinariesCentOS,
+ kubeoneapi.OperatingSystemNameOracleLinux: removeBinariesCentOS,
+ kubeoneapi.OperatingSystemNameUbuntu: removeBinariesDebian,
})
}