You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same error, turned out that the Deployment manifests was invalid (I had strategy set to Recreate directly instead of strategy.type: Recreate).
It seems your deployment's .spec.template.spec.imagePullSecrets is invalid: it should be an array of string and not an array of objects.
Unfortunately, it means that an invalid deployment is simply ignored by kube-linter so this is an issue on its own.
Edit: just wanted to add that I catched this issue with kubeconform.
After scanning a file, linter reports that it cannot find pods by labels, although the labels in the deploy and service are correct.
web.yaml
The text was updated successfully, but these errors were encountered: