What Add an option to skip checking if the operator namespace is valid during the Reconcile loop. Why The Reconcile function recently to check if the namespace provided in a CR is valid. To do this, the Operator SDK reads the file at /var/run/secrets/kubernetes.io/serviceaccount/namespace to see if the CR namespace matches the one at this location. This is fine when the operator is live, but /var/run/secrets/kubernetes.io/serviceaccount/namespace would not exist locally where unit tests are running in isolation, so this check will always fail. Link to discussion |