Skip to content

helm backend should at least WARN (maybe error?) if the user supplied image is not found #18346

Open
@cburroughs

Description

@cburroughs

Is your feature request related to a problem? Please describe.

$ cat dependencies src/deployment/BUILD 
cat: dependencies: No such file or directory
#Overrides the `image` value for the chart using the target address for the first-party docker image.
helm_deployment(dependencies=["src/chart"],
                sources=["common-values.yaml"],
                values={"image": "src/docker:docker"})
$ cat dependencies src/deployment/BUILD 
cat: dependencies: No such file or directory
#Overrides the `image` value for the chart using the target address for the first-party docker image.
helm_deployment(dependencies=["src/chart"],
                sources=["common-values.yaml"],
                values={"image": "src/docker:whale-typo"})
$ ./pants dependencies src/deployment:deployment
src/chart:chart

😿

Describe the solution you'd like
If the user specifically says "use this image", but said image isn't found, pants should warn or error out or something

Describe alternatives you've considered

Additional context
#18345
https://github.com/cburroughs/example-python/tree/17da445368d145f22693f86d4157895609968922

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions