If global objects like StorageClasses have wrongly set metadata.namespace, the controller will error out with:
timeout waiting for: [StorageClass/wrong-namespace/aws-efs status: 'Unknown']
Instead of relying on the manifests created by users, we should run the health check for the objects returned by the API server after the server-side apply, as the Kubernetes API removes the namespace from global objects.
If global objects like StorageClasses have wrongly set
metadata.namespace, the controller will error out with:Instead of relying on the manifests created by users, we should run the health check for the objects returned by the API server after the server-side apply, as the Kubernetes API removes the namespace from global objects.