Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing "Image is not used" warning #9492

Open
sergeykad opened this issue Aug 8, 2024 · 0 comments
Open

Confusing "Image is not used" warning #9492

sergeykad opened this issue Aug 8, 2024 · 0 comments

Comments

@sergeykad
Copy link

sergeykad commented Aug 8, 2024

Expected behavior

When there is an error substituting image configuration Skaffold will provide useful information about what went wrong.

Actual behavior

Only the following information is provided regarding the problem, even after enabling trace level logging

WARN[0003] image [docker.server.com:5000/my-service:519e2dec4d1729496236eec9f3ccae7cefb7f5da1dc3fcf79f54e0935f82f761] is not used.  subtask=-1 task=DevLoop
WARN[0003] See helm documentation on how to replace image names with their actual tags: https://skaffold.dev/docs/pipeline-stages/deployers/helm/#image-configuration  subtask=-1 task=DevLoop

While the document is comprehensive, it also explains multiple cases influenced by a number of external parameters. It's quite hard to guess the correct configuration without getting any constructive feedback on the error.

From my observations switching from chartPath to remoteChart can also lead to this error although it is not mentioned in the documentation.

Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant