When the above command is executed I get the error
Error: unknown shorthand flag: 'e' in -execute
See 'influx -h' for help
command terminated with exit code 1
This error is thrown from the line
kubectl -n $namespace exec -ti $influxdb_pod -- influx -execute 'CREATE DATABASE jmeter'
Any idea about this error?