Skip to content

Nullify platform Kubernetes namespace if blank

Tiger Watson requested to merge 31728-nullify-cluster-namespace-if-blank into master

What does this MR do?

Clears the cluster namespace field if it is being set to the empty string.

This prevents a bug where clusters couldn't be swapped between managed and unmanaged if they had a custom namespace set as the field wasn't being cleared.

Screenshots

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

#31728 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports