Patch argo-server authentication | kubectl gives "error: unknown flag: --auth-mode"

69 Views Asked by At

I am trying to set Argo on my Windows laptop. I am following the docs: https://argo-workflows.readthedocs.io/en/latest/quick-start/

In the patch argo-server authentication, on running the command:

kubectl patch deployment \
  argo-server \
  --namespace argo \
  --type='json' \
  -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/args", "value": [
  "server",
  "--auth-mode=server"
]}]'

I am getting the error:

error: unknown flag: --auth-mode
See 'kubectl patch --help' for usage.

How do I fix this? I am running on Windows.

0

There are 0 best solutions below