From 72420ed06459df78870bd5aa8574a19121f81dfb Mon Sep 17 00:00:00 2001 From: Denisenko Dmitry Date: Mon, 19 Jan 2026 10:13:24 +0000 Subject: [PATCH] temp delete container-selinux from ngc --- templates/nodegroupconfiguration-selinux.yaml | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/templates/nodegroupconfiguration-selinux.yaml b/templates/nodegroupconfiguration-selinux.yaml index 1a81b02797..00324ca807 100644 --- a/templates/nodegroupconfiguration-selinux.yaml +++ b/templates/nodegroupconfiguration-selinux.yaml @@ -48,28 +48,3 @@ spec: function install_package() { bb-dnf-install "$1" } - - if is_selinux_enabled; then - - if is_package_installed "selinux-policy"; then - - if is_package_installed "container-selinux"; then - exit 0 - fi - - bb-log-info "install container-selinux" - install_package "container-selinux" - else - bb-event-on 'bb-package-installed' 'post-install' - post-install() { - bb-log-info "Setting reboot flag due to selinux-policy was installed" - bb-flag-set reboot - } - bb-deckhouse-get-disruptive-update-approval - install_package "selinux-policy" - install_package "container-selinux" - fi - - else - exit 0 - fi