error executing process while using empty cmd
RichardHCL opened this issue · 6 comments
Hi @RichardHCL
spiffe-helper currently requires the cmd
configurable to be set. The provided command is invoked (or signaled if the process is running) every time certificates are rotated.
Curious to hear what your use case is for an empty cmd
... would you expect it to only update the certificate files?
Hi @marcosy ~~
Yes, I though it can update the certificate files without running any additional commands. And, I just got one more question, is there any specific command for cmd input or just general linux cmd would be sufficed?
I though it can update the certificate files without running any additional commands
Yes, that sounds reasonable to me. If cmd
is unset or empty it should only update the certs.
is there any specific command for cmd input or just general linux cmd would be sufficed?
Just general unix commands. If the value assigned to the cmd
configurable does not contains path separators, spiffe-helper tries to resolve it to a complete path (like with the echo
example). Otherwise it uses the cmd
content as the path to an executable file (like /Users/marcos/my-executable-file
).
You can assign me this issue.
Thanks @JU4N98