Looks to me like the nagios user has HOME=/var/lib/nagios and as a result, fails to run kubectl due to this bug in snapd: https://bugs.launchpad.net/snapd/+bug/1776800
Looks to me like the nagios user has HOME=/var/ lib/nagios and as a result, fails to run kubectl due to this bug in snapd: https:/ /bugs.launchpad .net/snapd/ +bug/1776800