Skip to content

Refresh service_account_token for kubernetes_namespaces

Dylan Griffith requested to merge 55362-refresh-blank-service-account-token into master

This is safer considering some project level clusters may see a change in behaviour if we merge this first. Update: does not actually change behaviour for project-level clusters, so we should be safe to merge this by itself.

What does this MR do?

There seems to be several examples where service_account_token is blank even in GitLab.com newly created kubernetes_namespaces . We have not figured out why they are blank but this should hopefully fix some issues similar to https://gitlab.com/gitlab-org/gitlab-ce/issues/55362

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

#55362 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports