Fixing upgrade SetDesiredDeploymentEndpoint ServiceAccountName
Fixing an upgrade 5.8 to 4.9 flow where we are not setting the correct SCC to the endpoint.
@@ -271,6 +271,7 @@ func (r *Reconciler) SetDesiredDeploymentEndpoint() error {
rootUIDGid := int64(0)
podSpec.SecurityContext.RunAsUser = &rootUIDGid
podSpec.SecurityContext.RunAsGroup = &rootUIDGid
+ podSpec.ServiceAccountName = "noobaa-endpoint"
for i := range podSpec.Containers {
c := &podSpec.Containers[i]
