open-vault/command/agent/auth
Calvin Leung Huang 90a3f32771
agent: return a non-zero exit code on error (#9670)
* agent: return a non-zero exit code on error

* agent/template: always return on template server error, add case for error_on_missing_key

* agent: fix tests by updating Run params to use an errCh

* agent/template: add permission denied test case, clean up test var

* agent: use unbuffered errCh, emit fatal errors directly to the UI output

* agent: use oklog's run.Group to schedule subsystem runners (#9761)

* agent: use oklog's run.Group to schedule subsystem runners

* agent: clean up unused DoneCh, clean up agent's main Run func

* agent/template: use ts.stopped.CAS to atomically swap value

* fix tests

* fix tests

* agent/template: add timeout on TestRunServer

* agent: output error via logs and return a generic error on non-zero exit

* fix TestAgent_ExitAfterAuth

* agent/template: do not restart ct runner on new incoming token if exit_after_auth is set to true

* agent: drain ah.OutputCh after sink exits to avoid blocking on the channel

* use context.WithTimeout, expand comments around ordering of defer cancel()
2020-09-29 18:03:09 -07:00
..
alicloud Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
approle Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
aws Add logging during awskms auto-unseal (#9794) 2020-09-28 14:06:49 -07:00
azure Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
cert agent: support providing certificate information in cert's config map (#9819) 2020-08-25 14:26:06 -07:00
cf Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
gcp Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
jwt Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
kerberos agent/auth/kerberos: add disable_fast_negotiation (#9892) 2020-09-04 16:46:18 -04:00
kubernetes Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
auth.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
auth_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00