Add validations for image pull secrets and shared namespace

Issue: Rails: Add validation for image_pull_secrets wh... (#519276 - closed)

What does this MR do and why?

Add validations for image pull secrets and shared namespace.

When shared_namespace is specified in the agent configuration, all the namespace values in image_pull_secrets should be the same value as shared_namespace.

Co-Authored-By: Jack Parry jack.parry@acsc.cloud

This was originally part of Rails: Add validation for image_pull_secrets wh... (!186193 - closed) . I have taken over that MR due to inactivity. I have split that original MR into 2 MRs to keep the changes cohesive. One is this MR and another is Fix validation bug for shared namespace (!190060 - merged) .

References

Screenshots or screen recordings

N.A.

How to set up and validate locally

  1. Run the unit tests.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vishal Tak

Merge request reports

Loading