Skip to content

Bug: cannot include double quote in multiple CLI args  #276

@flah00

Description

@flah00

This project has been a boon. Thanks for the work y'all put into it!

I need to specify a pod annotation as JSON, but the quotes trip up the CLI parser, eg

$ kangal c --master-url=localhost:10000 --kubeconfig /dev/null --pod-annotation='key:{"akey":1}'
Error: invalid argument "key:{\"akey\":1}" for "--pod-annotation" flag: parse error on line 1, column 6: bare " in non-quoted-field

Metadata

Metadata

Assignees

No one assigned

    Labels

    pinnedissues that should be kept open

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions