spiffe-helper
spiffe-helper copied to clipboard
Add ability to exit on successful retrieval of JWT SVID
It also can not run a command on exit near as I can tell. The code should probably call the same function that does cmd execution and signaling as well as exit?
It also can not run a command on exit near as I can tell. The code should probably call the same function that does cmd execution and signaling as well as exit?
Yes, I think so. It's confusing that there's not parity here.
Actually signaling might be confusing since if there's multiple JWTs, it would signal multiple times.
Actually signaling might be confusing since if there's multiple JWTs, it would signal multiple times.
The same is true on exiting? With multiple jwts I'd think the exit should happen when all have been fetched. Probably signaling, and cmd should happen the same way? But that is more tricky...
The same is true on exiting? With multiple jwts I'd think the exit should happen when all have been fetched. Probably signaling, and cmd should happen the same way? But that is more tricky...
Yea, I guess it should signal once when all the JWTs are fetched, not each time. Dunno why I didn't think of that.