integ/kubernetes
Ramesh Kumar Sivanandam b4af713109 Remove KUBE_ALLOW_PRIV from kubelet.service
KUBE_ALLOW_PRIV results in trying to run kubelet with the
"--allow-privileged=true" flag, which has not been supported by
kubelet since K8s 1.15 that in turn causes the kubelet to error out.

Default kubelet.service contains KUBE_ALLOW_PRIV invalid setting due
to the fact that the upstream kubernetes-contrib package hasn't been
updated in years.

This change removes KUBE_ALLOW_PRIV from kubelet.service in the
kubernetes-unversioned package.

Closes-Bug: 1998629

Test-plan:
PASS - Install AIO-SX and ensure that
       /lib/systemd/system/kubelet.service doesn't contain
       "$KUBE_ALLOW_PRIV"

Signed-off-by: Ramesh Kumar Sivanandam <rameshkumar.sivanandam@windriver.com>
Change-Id: Ide0f9c8db180908cc9c6528f474214966655be95
2022-12-07 09:18:07 -05:00
..
2022-10-07 15:01:49 +00:00
2022-08-19 10:33:22 -03:00