Commit Graph

  • 548874a641 Move TestGetAPIResourceList to its own file Ryan Richard 2020-07-31 17:37:59 -07:00
  • cf56c67329 Move LoginDiscoveryConfig to the crds.placeholder.suzerain-io.github.io group Ryan Richard 2020-07-31 17:22:12 -07:00
  • 9fe82ec5f1 Merge remote-tracking branch 'upstream/main' into discovery_doc Ryan Richard 2020-07-31 16:38:40 -07:00
  • 2aa80e3576 More WIP for the publisher controller Ryan Richard 2020-07-31 14:35:20 -07:00
  • 0f248768a3 Merge pull request #37 from suzerain-io/update-api-and-client-go aram price 2020-07-31 13:40:46 -07:00
  • 52546fad90 WIP: start on publisher controller integration Andrew Keesler 2020-07-31 12:08:07 -04:00
  • bd594e19ff Update -api and -client-go dependencies aram price 2020-07-30 20:05:32 -07:00
  • 2e05e032ee Merge remote-tracking branch 'upstream/main' into discovery_doc Ryan Richard 2020-07-30 17:28:35 -07:00
  • 733f80b7ae Apply filters to PublisherController Ryan Richard 2020-07-30 17:16:09 -07:00
  • ae7be3ea94 Merge pull request #31 from ankeesler/duplicate-header-definition Andrew Keesler 2020-07-30 18:01:49 -04:00
  • a8dbdfd1c4 Consolidate duplicate header definitions Andrew Keesler 2020-07-28 10:30:10 -04:00
  • 3d293c96bc Merge pull request #36 from mattmoyer/fix-expiration-handling Matt Moyer 2020-07-30 16:55:52 -05:00
  • 02c17d875e Update the LoginRequest server to return an expiration timestamp. Matt Moyer 2020-07-30 16:43:20 -05:00
  • 076f8805d2 Update integration tests to assert a non-nil expiration timestamp. Matt Moyer 2020-07-30 16:41:12 -05:00
  • 5aebb76146 Make the PublisherController use informers Ryan Richard 2020-07-30 14:34:13 -07:00
  • ec6ec2abe9 Handle expiration and token fields in client package. Matt Moyer 2020-07-30 16:25:59 -05:00
  • b59604b47c Merge pull request #34 from mattmoyer/reduced-dependency-client Matt Moyer 2020-07-30 14:45:20 -05:00
  • 66fe580e99 We need an extra "go test" command for the new pkg/client module. Matt Moyer 2020-07-30 14:00:06 -05:00
  • a448b3474e Add some missing test cases for pkg/client. Matt Moyer 2020-07-30 13:16:27 -05:00
  • 04cacabc16 Convert pkg/client to depend only on stdlib. Matt Moyer 2020-07-29 16:24:16 -05:00
  • 3bc0389bab Add some missing assertions in pkg/client/client_test.go. Matt Moyer 2020-07-29 13:38:15 -05:00
  • 15bee7456c Merge pull request #35 from mattmoyer/add-hack-test-script Matt Moyer 2020-07-30 13:49:28 -05:00
  • 8bdf05dae4 Add ./hack/test-unit.sh. Matt Moyer 2020-07-30 13:28:27 -05:00
  • ee865fe97f logindiscovery: add package documentation. Andrew Keesler 2020-07-30 10:39:38 -04:00
  • 9a859875a7 logindiscovery: add tests for conditional update and error cases Andrew Keesler 2020-07-30 10:39:15 -04:00
  • e0cac97084 More tests for the PublisherController Ryan Richard 2020-07-29 18:18:42 -07:00
  • a5f7de429d First commit of PublisherController Andrew Keesler 2020-07-29 17:22:25 -07:00
  • aa90173891 Merge branch 'main' into discovery_doc Ryan Richard 2020-07-29 13:56:21 -07:00
  • 409462e989 Remove the controller pkg because it was moved to another repo Andrew Keesler 2020-07-29 13:53:40 -07:00
  • a8f3c62d37 Remove identity provider list from LoginDiscoveryConfig CRD Ryan Richard 2020-07-29 13:17:55 -07:00
  • 7ba43e0c3f More validations on the LoginDiscoveryConfig CRD Andrew Keesler 2020-07-29 13:14:50 -07:00
  • 43c3f1ab2e Minor test cleanup Ryan Richard 2020-07-28 17:22:17 -07:00
  • b70f3aefe5 First draft of LoginDiscoveryConfig CRD Ryan Richard 2020-07-28 16:55:50 -07:00
  • 1e56ecfdb4 Merge pull request #32 from mattmoyer/fix-cli-bug Matt Moyer 2020-07-28 16:22:25 -05:00
  • 42616e7d8a Fix a bug in placeholder-name CLI (wrong API version). Matt Moyer 2020-07-28 15:59:16 -05:00
  • 271eb9b837 Merge pull request #30 from cfryanr/new_cli Matt Moyer 2020-07-28 15:29:13 -05:00
  • 48433eb36b Add integration tests for the client package. Matt Moyer 2020-07-28 14:50:49 -05:00
  • bc4351f51a Add copyright, appease the linter aram price 2020-07-28 09:14:01 -07:00
  • 531954511b Extract a test library helper for ErrorWriter{}. Matt Moyer 2020-07-28 10:44:43 -05:00
  • a15a106fd3 Add a trailing newline to our CLI error output. Matt Moyer 2020-07-28 10:39:29 -05:00
  • b0d9db1bcc Implement client.ExchangeToken. Matt Moyer 2020-07-28 10:27:07 -05:00
  • 1a349bb609 Add a context parameter so we can enforce a timeout for the token exchange. Matt Moyer 2020-07-28 09:10:40 -05:00
  • 0ee4f0417d Use require.EqualError instead of require.Error. Matt Moyer 2020-07-28 08:47:11 -05:00
  • ebe39c8663 Add a test for "failed to marshal response to stdout" error case. Matt Moyer 2020-07-28 08:42:25 -05:00
  • 1e8463ac2d Use Go's favorite version of the word "marshal". Matt Moyer 2020-07-28 08:41:26 -05:00
  • a5dbc324f6 Use the "Err*" idiomatic naming for error variables/consts. Matt Moyer 2020-07-28 08:37:27 -05:00
  • 27cd82065b Add placeholder-name CLI Ryan Richard 2020-07-27 16:49:43 -07:00
  • 9e44bc28d9 Change the name of the placeholder-name CLI to placeholder-name-server Ryan Richard 2020-07-27 13:32:14 -07:00
  • 0acb8c8d3c internal-ize apiserver and registry packages Andrew Keesler 2020-07-28 11:28:34 -04:00
  • ce71a5bac8 Merge pull request #29 from mattmoyer/increase-cert-ttl Matt Moyer 2020-07-27 14:56:08 -05:00
  • 425e95bed4 Merge remote-tracking branch 'upstream/main' into main Ryan Richard 2020-07-27 12:35:11 -07:00
  • 418811ef19 Use consistent verify.sh with linting between all code repos Ryan Richard 2020-07-27 12:31:16 -07:00
  • c9026cd150 Remove unused handlers package Ryan Richard 2020-07-27 09:27:07 -07:00
  • 63a5381968 Work around k8s 1.16 limitations of priorityClassName. Matt Moyer 2020-07-27 09:22:39 -05:00
  • 74a328de41 Fix linter error in certauthority. Matt Moyer 2020-07-27 08:18:37 -05:00
  • 8a313bc653 Update loginrequest/REST.Create to issue client certificates. Matt Moyer 2020-07-27 08:08:39 -05:00
  • 6dfae48b65 Add generated mock for loginrequest.CertIssuer interface. Matt Moyer 2020-07-27 08:07:34 -05:00
  • 8a8a278029 Extend the REST service to keep a CertIssuer. Matt Moyer 2020-07-27 07:55:33 -05:00
  • f7b0cf8f8a Fix a bad assumption in library.NewClientConfigWithCertAndKey. Matt Moyer 2020-07-27 07:52:36 -05:00
  • 69f766d41d Extend certauthority to support loading an existing CA. Matt Moyer 2020-07-27 07:50:59 -05:00
  • 5dea51c062 Int test for LoginRequest grants permissions to test user Ryan Richard 2020-07-24 15:57:29 -07:00
  • b16bf52580 Fix a failing unit test and import mistake from previous commits Ryan Richard 2020-07-24 14:32:07 -07:00
  • f47927331f Condense discovery integration tests Andrew Keesler 2020-07-24 11:17:32 -04:00
  • 066bc84e2a Add "--cluster-signing-*-file" flags pointing at a host volume mount. Matt Moyer 2020-07-24 15:41:51 -05:00
  • 9f0d2606b1 WIP: initial integration test for cert issuing Andrew Keesler 2020-07-24 11:40:08 -04:00
  • f986600d5b Increase client cert TTL from 5m to 1h. Matt Moyer 2020-07-27 13:38:32 -05:00
  • 349dd98a2f Merge pull request #28 from mattmoyer/work-around-1.16 Matt Moyer 2020-07-27 09:44:22 -05:00
  • 60bbcc12d8 Work around k8s 1.16 limitations of priorityClassName. Matt Moyer 2020-07-27 09:22:39 -05:00
  • 259fc0e794 Merge pull request #27 from ankeesler/issue-cert Matt Moyer 2020-07-27 08:57:27 -05:00
  • a1593c4b7b Fix linter error in certauthority. Matt Moyer 2020-07-27 08:18:37 -05:00
  • 8606cc9662 Update loginrequest/REST.Create to issue client certificates. Matt Moyer 2020-07-27 08:08:39 -05:00
  • 613f324a47 Add generated mock for loginrequest.CertIssuer interface. Matt Moyer 2020-07-27 08:07:34 -05:00
  • d8c7a25487 Extend the REST service to keep a CertIssuer. Matt Moyer 2020-07-27 07:55:33 -05:00
  • 07a71236aa Fix a bad assumption in library.NewClientConfigWithCertAndKey. Matt Moyer 2020-07-27 07:52:36 -05:00
  • 757d987204 Extend certauthority to support loading an existing CA. Matt Moyer 2020-07-27 07:50:59 -05:00
  • 899f736b8c Int test for LoginRequest grants permissions to test user Ryan Richard 2020-07-24 15:57:29 -07:00
  • 6001f1f456 Fix a failing unit test and import mistake from previous commits Ryan Richard 2020-07-24 14:32:07 -07:00
  • 99b35e1a61 Merge branch 'main' into issue-cert Ryan Richard 2020-07-24 14:11:06 -07:00
  • e5902533eb Add "--cluster-signing-*-file" flags pointing at a host volume mount. Matt Moyer 2020-07-24 15:41:51 -05:00
  • 0d667466e8 Merge pull request #26 from ankeesler/proposed-integration-test-cleanup Andrew Keesler 2020-07-24 14:59:05 -04:00
  • 9bfec08d90 More tests and more validations for create LoginRequest endpoint Ryan Richard 2020-07-24 11:00:29 -07:00
  • 6cc8a2f8dd WIP: initial integration test for cert issuing Andrew Keesler 2020-07-24 11:40:08 -04:00
  • 6fe7a4c9dc Add a test for when a validation function is passed. Matt Moyer 2020-07-24 11:52:38 -05:00
  • 924eb1abaa Merge pull request #25 from cfryanr/finishing_webhook_invocation Matt Moyer 2020-07-24 11:30:11 -05:00
  • a7748a360e Extend integration tests to check new LoginRequest API semantics. Matt Moyer 2020-07-24 10:46:40 -05:00
  • 84bb0a9a21 Start returning user info in LoginRequest response. Matt Moyer 2020-07-24 10:21:36 -05:00
  • e1f44e2654 Condense discovery integration tests Andrew Keesler 2020-07-24 11:17:32 -04:00
  • 9af3637403 Bump version of -api dependency Ryan Richard 2020-07-23 17:12:25 -07:00
  • 6a93de3931 More validations and error handling for create LoginRequest endpoint Ryan Richard 2020-07-23 16:01:55 -07:00
  • 6c87c793db Extract test helper for asserting API errors in rest_test.go Ryan Richard 2020-07-23 09:50:23 -07:00
  • 5fdc20886d Initial aggregated API server (#15) Mo Khan 2020-07-23 11:05:21 -04:00
  • 23c1b32a02 Merge pull request #24 from enj/enj/f/controller_lib Mo Khan 2020-07-22 22:40:33 -04:00
  • d4eeb74641 Add initial controller boilerplate and example controller Monis Khan 2020-07-20 19:52:20 -04:00
  • 31c4e6560d Drop GitHub Actions (we now have Concourse for PRs). Matt Moyer 2020-07-20 09:40:07 -05:00
  • 4b1a7436a9 Merge pull request #22 from enj/enj/i/user_agent Mo Khan 2020-07-20 00:41:41 -04:00
  • 549da37805 Encode git version info into binary and user agent Monis Khan 2020-07-20 00:21:47 -04:00
  • 240f9f86b1 Merge pull request #21 from enj/enj/i/cleanup_apimachinery Mo Khan 2020-07-19 01:39:05 -04:00
  • b638bd7eeb Describe why/how we recover type meta using scheme Monis Khan 2020-07-19 01:25:02 -04:00
  • 5fa5b9a9a9 Do not hard code API version Monis Khan 2020-07-18 23:57:00 -04:00
  • 9118869d04 Use protobuf with built-in Kube REST APIs Monis Khan 2020-07-18 23:52:18 -04:00