Setting the unsafe_allow_automount_service_account_token option for eirini does not apply it to task Pods and instead always sets it to false. It should follow the same behaviour as for apps (see here and here)
Steps to reproduce
Deploy eirini with unsafe_allow_automount_service_account_token: true
Push an app and run a task
What was expected to happen
The tasks Pod doesn't have automountServiceAccountToken set
What actually happened
The tasks Pod has automountServiceAccountToken: false
Description
Setting the
unsafe_allow_automount_service_account_token
option for eirini does not apply it to task Pods and instead always sets it to false. It should follow the same behaviour as for apps (see here and here)Steps to reproduce
unsafe_allow_automount_service_account_token: true
What was expected to happen
The tasks Pod doesn't have
automountServiceAccountToken
setWhat actually happened
The tasks Pod has
automountServiceAccountToken: false
Additional information (optional)
Original issue