ServiceAccount Bugfixes 🐛🔫
Bugfix release for supporting serviceAccountName
injections properly. Previously we were doing a few things incorrectly.
- if the
serviceAccountName
was"default"
, we were not injecting the serviceAccount. This was dumb and for that i am sorry. - There was a bug when loading an
InjectionConfig
that uses bothinherits:
as well asserviceAccountName
that prevented the loaded config from including the serviceaccount VolumeMounts
for a SA token created by theServiceAccountController
need to be removed from existing pods, so that the patched pod can be run through the SAController again and pick up the correct mounts for the newly injected serviceaccount.