I have kubectl configured on my Windows 11 PowerShell command line, it works fine for all commands so far, but when I run the following command reference:
kubectl get secrets/my-app -n my-ns --template={{.data.database_host}}
I get the following error:
error: unknown shorthand flag: 'e' in -encodedCommand
See 'kubectl get --help' for usage.
Does anybody know why?