Print the right error message for Kubernetes executor errors

Description

We experienced an issue with our kubernetes executor failing with the following error:

ERROR: Job failed (system failure): prepare environment: setting up trapping scripts on emptyDir: unable to upgrade connection: container not found ("build"). Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information

Following the URL the proposed fix to remove the mentioned content from the .bash_logout file. Below the suggestion is a list of executors which are affected, kubernetes is not mentioned as one of them.

Proposal

_ {paceholder}

Edited by Darren Eastman