Question 510
A service account used by a release pipeline refers to a secret in another namespace and cannot pull the expected image even though developers can log into the registry manually. Once the issue is resolved, which ongoing practice BEST prevents this type of failure?
Explanation
Correct Answer
This control reduces recurrence of the same class of failure: Kubernetes image pull authentication uses appropriately scoped registry credentials referenced by the pod or service account in the correct namespace. Apply the recurring practice: Rotate registry credentials and audit namespace secret references whenever pipeline identities or private repositories change. The previous example was: A service account used by a release pipeline refers to a secret in another namespace and cannot pull the expected image even though developers can log into the registry manually.
Incorrect Answers
Supervisor add-on services have their own version, storage, network, identity and configuration prerequisites beyond the act of enabling an add-on. For this case, Kubernetes image pull authentication uses appropriately scoped registry credentials referenced by the pod or service account in the correct namespace.
Rehearse cross-environment restore mappings and keep storage and image dependencies in the recovery runbook. This case instead turns on private image registry pull secrets for workloads; create a limited registry credential secret in the intended namespace, bind it to the workload or service account and verify permissions and certificate trust.
VSphere Namespace permissions govern actions within the Supervisor context and should follow least privilege independently from guest Kubernetes RBAC. However, the present prevention decision is grounded in: A service account used by a release pipeline refers to a secret in another namespace and cannot pull the expected image even though developers can log into the registry manually. Here, create a limited registry credential secret in the intended namespace, bind it to the workload or service account and verify permissions and certificate trust.