Accessing container mounted volumes in Kubernetes from docker container
Change your args
to:
args: [ "local", "n", "--password", "/chainlink/.password", "--api", "/chainlink/.api"]
The way you currently have it, it's thinking the whole string --password /chainlink/.password
, include the space, is a single flag. That's what the error:
flag provided but not defined: -password /chainlink/.password
is telling you.