Skip to content

Feature Request: add (--pod/--kube) --name parameterΒ #131

Open
@sugoidogo

Description

A docker-compose file doesn't require a top-level name field, but when using a nameless file as input to podlet compose --pod, the following error message appears:

[root@digitalocean ztnet]# podlet compose --pod
Error:
   0: error converting compose file
   1: `name` is required when using `--pod`

Location:
   src/cli/compose.rs:130

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

That error message doesn't specify that name is a field in the docker compose file, which I think should also be updated for clarity, but I would also prefer if I could simply provide the name of the pod on the command line so that I could use unmodified compose files as input

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions