What happened:
I tried to configure the commandline argument --aws-zone-match-parent for the AWS provider using the map form of extraArgs:, which did not work with using the arg key with a null value or a value of true
aws-zone-match-parent: true got rendered as --aws-zone-match-parent=true which caused an fatal error on startup
What you expected to happen:
the map form of extraArgs should handle CLI arguments without parameters as well as the list version.
Ideally the map version should support either flag: null (just key present) or flag: true for CLI args without an explicit value.
How to reproduce it (as minimally and precisely as possible):
extraArgs:
domain-filter:
- management.example.com
- management.ext.example.com
aws-zone-match-parent:
does not work, neither does:
extraArgs:
domain-filter:
- management.example.com
- management.ext.example.com
aws-zone-match-parent: true
This works:
extraArgs:
- --domain-filter=management.example.com
- --domain-filter=management.ext.example.com
- --aws-zone-match-parent
(but does not support merging of values files)
Anything else we need to know?:
Environment:
- External-DNS version (use
external-dns --version): 0.20.0
- DNS provider: AWS
- Others: Chart
v1.20.0
What happened:
I tried to configure the commandline argument
--aws-zone-match-parentfor the AWS provider using the map form ofextraArgs:, which did not work with using the arg key with anullvalue or a value oftrueaws-zone-match-parent: truegot rendered as--aws-zone-match-parent=truewhich caused an fatal error on startupWhat you expected to happen:
the map form of
extraArgsshould handle CLI arguments without parameters as well as the list version.Ideally the map version should support either
flag: null(just key present) orflag: truefor CLI args without an explicit value.How to reproduce it (as minimally and precisely as possible):
does not work, neither does:
This works:
(but does not support merging of values files)
Anything else we need to know?:
Environment:
external-dns --version): 0.20.0v1.20.0