[2.17] Fix containerd failed to start if apparmor is not installed (#8042)

* Ensure apparmor is installed (#8011)

Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var.

(cherry picked from commit 4bace2491d)

* Ensure apparmor is installed (#8036)

Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var.

(cherry picked from commit af04906b51)

Co-authored-by: rtsp <git@rtsp.us>
pull/8102/head
Mathieu Parent 2021-10-01 19:00:24 +02:00 committed by GitHub
parent 45018ac077
commit 87fee0cccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -6,3 +6,4 @@ required_pkgs:
- software-properties-common
- conntrack
- iptables
- apparmor

View File

@ -5,3 +5,4 @@ required_pkgs:
- apt-transport-https
- software-properties-common
- conntrack
- apparmor

View File

@ -5,3 +5,4 @@ required_pkgs:
- apt-transport-https
- software-properties-common
- conntrack
- apparmor