Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for Oracle Linux #2776

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions addons/unattended-upgrades/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
2 changes: 2 additions & 0 deletions addons/unattended-upgrades/kured.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ spec:
- centos
- rhel
- rockylinux
- ol
- ubuntu
- matchExpressions:
- key: v1.kubeone.io/operating-system
Expand All @@ -106,6 +107,7 @@ spec:
- debian
- rhel
- rockylinux
- ol
- ubuntu
serviceAccountName: kured
tolerations:
Expand Down
4 changes: 3 additions & 1 deletion addons/unattended-upgrades/yum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
- centos
- rhel
- rockylinux
- ol
- matchExpressions:
- key: v1.kubeone.io/operating-system
operator: In
Expand All @@ -35,6 +36,7 @@ spec:
- centos
- rhel
- rockylinux
- ol
tolerations:
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/terraform/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ No modules.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_ami"></a> [ami](#input\_ami) | AMI ID, use it to fixate control-plane AMI in order to avoid force-recreation it at later times | `string` | `""` | no |
| <a name="input_ami_filters"></a> [ami\_filters](#input\_ami\_filters) | map with AMI filters | <pre>map(object({<br> owners = list(string)<br> image_name = list(string)<br> ssh_username = string<br> worker_os = string<br> }))</pre> | <pre>{<br> "amzn": {<br> "image_name": [<br> "amzn2-ami-hvm-2.0.*-x86_64-gp2"<br> ],<br> "owners": [<br> "137112412989"<br> ],<br> "ssh_username": "ec2-user",<br> "worker_os": "amzn2"<br> },<br> "centos": {<br> "image_name": [<br> "CentOS Linux 7 x86_64*"<br> ],<br> "owners": [<br> "125523088429"<br> ],<br> "ssh_username": "centos",<br> "worker_os": "centos"<br> },<br> "flatcar": {<br> "image_name": [<br> "Flatcar-stable-*-hvm"<br> ],<br> "owners": [<br> "075585003325"<br> ],<br> "ssh_username": "core",<br> "worker_os": "flatcar"<br> },<br> "rhel": {<br> "image_name": [<br> "RHEL-8*_HVM-*-x86_64-*"<br> ],<br> "owners": [<br> "309956199498"<br> ],<br> "ssh_username": "ec2-user",<br> "worker_os": "rhel"<br> },<br> "rockylinux": {<br> "image_name": [<br> "Rocky-8-ec2-*.x86_64"<br> ],<br> "owners": [<br> "792107900819"<br> ],<br> "ssh_username": "rocky",<br> "worker_os": "rockylinux"<br> },<br> "ubuntu": {<br> "image_name": [<br> "ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"<br> ],<br> "owners": [<br> "099720109477"<br> ],<br> "ssh_username": "ubuntu",<br> "worker_os": "ubuntu"<br> }<br>}</pre> | no |
| <a name="input_ami_filters"></a> [ami\_filters](#input\_ami\_filters) | map with AMI filters | <pre>map(object({<br> owners = list(string)<br> image_name = list(string)<br> ssh_username = string<br> worker_os = string<br> }))</pre> | <pre>{<br> "amzn": {<br> "image_name": [<br> "amzn2-ami-hvm-2.0.*-x86_64-gp2"<br> ],<br> "owners": [<br> "137112412989"<br> ],<br> "ssh_username": "ec2-user",<br> "worker_os": "amzn2"<br> },<br> "centos": {<br> "image_name": [<br> "CentOS Linux 7 x86_64*"<br> ],<br> "owners": [<br> "125523088429"<br> ],<br> "ssh_username": "centos",<br> "worker_os": "centos"<br> },<br> "flatcar": {<br> "image_name": [<br> "Flatcar-stable-*-hvm"<br> ],<br> "owners": [<br> "075585003325"<br> ],<br> "ssh_username": "core",<br> "worker_os": "flatcar"<br> },<br> "rhel": {<br> "image_name": [<br> "RHEL-8*_HVM-*-x86_64-*"<br> ],<br> "owners": [<br> "309956199498"<br> ],<br> "ssh_username": "ec2-user",<br> "worker_os": "rhel"<br> },<br> "rockylinux": {<br> "image_name": [<br> "Rocky-8-ec2-*.x86_64"<br> ],<br> "owners": [<br> "792107900819"<br> ],<br> "ssh_username": "rocky",<br> "worker_os": "rockylinux"<br> },<br> "oraclelinux": {<br> "image_name": [<br> "Oracle Linux 8 *.x86_64"<br> ],<br> "owners": [<br> "131827586825"<br> ],<br> "ssh_username": "ec2-user",<br> "worker_os": "oraclelinux"<br> },<br> "ubuntu": {<br> "image_name": [<br> "ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"<br> ],<br> "owners": [<br> "099720109477"<br> ],<br> "ssh_username": "ubuntu",<br> "worker_os": "ubuntu"<br> }<br>}</pre> | no |
| <a name="input_apiserver_alternative_names"></a> [apiserver\_alternative\_names](#input\_apiserver\_alternative\_names) | subject alternative names for the API Server signing cert. | `list(string)` | `[]` | no |
| <a name="input_aws_region"></a> [aws\_region](#input\_aws\_region) | AWS region to speak to | `string` | `"eu-west-3"` | no |
| <a name="input_bastion_host_key"></a> [bastion\_host\_key](#input\_bastion\_host\_key) | Bastion SSH host public key | `string` | `null` | no |
Expand Down
1 change: 1 addition & 0 deletions examples/terraform/aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ variable "worker_os" {
# * rhel
# * amzn2
# * rockylinux
# * ol
default = ""
type = string
}
Expand Down
2 changes: 2 additions & 0 deletions examples/terraform/azure/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ variable "os" {
# * ubuntu
# * centos
# * rockylinux
# * ol
# * rhel
# * flatcar
default = "ubuntu"
Expand All @@ -50,6 +51,7 @@ variable "worker_os" {
# * ubuntu
# * centos
# * rockylinux
# * ol
# * rhel
# * flatcar
default = ""
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/kubeone/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func (osName OperatingSystemName) IsValid() bool {
case OperatingSystemNameCentOS:
case OperatingSystemNameRHEL:
case OperatingSystemNameRockyLinux:
case OperatingSystemNameOracleLinux:
case OperatingSystemNameAmazon:
case OperatingSystemNameFlatcar:
case OperatingSystemNameUnknown:
Expand Down
17 changes: 9 additions & 8 deletions pkg/apis/kubeone/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
17 changes: 9 additions & 8 deletions pkg/apis/kubeone/v1beta2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
24 changes: 14 additions & 10 deletions pkg/cmd/initcmd/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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,
Expand Down Expand Up @@ -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},
},
},
},
Expand All @@ -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},
},
},
},
Expand All @@ -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},
},
},
},
Expand All @@ -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},
},
},
},
Expand Down Expand Up @@ -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},
},
},
},
Expand All @@ -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(`
Expand Down Expand Up @@ -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},
},
},
},
Expand Down Expand Up @@ -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(`
Expand Down Expand Up @@ -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(`
Expand Down
2 changes: 2 additions & 0 deletions pkg/tasks/kubernetes_binaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}
Expand All @@ -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,
})
}
Expand Down
30 changes: 16 additions & 14 deletions pkg/tasks/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}

Expand Down
15 changes: 8 additions & 7 deletions pkg/tasks/prerequisites.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}

Expand Down
15 changes: 8 additions & 7 deletions pkg/tasks/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}

Expand Down