Commit Graph

  • 8034ef24ff Fix a mistake from the previous commit Ryan Richard 2020-08-10 19:34:45 -07:00
  • 626fc6aa8d Merge branch 'main' into cert_controllers Ryan Richard 2020-08-10 19:01:36 -07:00
  • cc9ae23a0c Add tests for the new cert controllers and some other small refactorings Ryan Richard 2020-08-10 18:53:53 -07:00
  • 7152ffd730 Merge pull request #48 from mattmoyer/extend-dependabot-config Matt Moyer 2020-08-10 12:11:27 -05:00
  • 6300898810 Add additional go.mod directories to dependabot. Matt Moyer 2020-08-10 12:09:32 -05:00
  • 7c8876a812 Merge pull request #47 from suzerain-io/dependabot/docker/golang-1.14.7-alpine Matt Moyer 2020-08-10 12:00:28 -05:00
  • b3df59ca13 Bump golang from 1.14.6-alpine to 1.14.7-alpine dependabot[bot] 2020-08-10 16:46:08 +00:00
  • b4130af2bf Merge pull request #46 from mattmoyer/downgrade-base-image Matt Moyer 2020-08-10 11:45:35 -05:00
  • 5394008d6f Temporarily downgrade our Docker base image to trigger dependabot. Matt Moyer 2020-08-10 11:44:47 -05:00
  • 3583f7a09f Merge pull request #45 from mattmoyer/add-dependabot-config Matt Moyer 2020-08-10 11:38:35 -05:00
  • df3c387f2e Add dependabot YAML configuration. Matt Moyer 2020-08-10 11:37:52 -05:00
  • fa0533fae9 hack/module.sh: update usage with unittest command Andrew Keesler 2020-08-10 10:18:36 -04:00
  • 86c3f89b2e First draft of moving API server TLS cert generation to controllers Ryan Richard 2020-08-09 10:04:05 -07:00
  • b00cec954e Pre-factor server.go Ryan Richard 2020-08-07 14:49:04 -07:00
  • b379d5148c Merge pull request #42 from mattmoyer/monorepo-deux Matt Moyer 2020-08-06 21:07:50 -05:00
  • aecd005c60 Disable ./hack/verify-codegen.sh in CI since we don't have Docker available yet. Matt Moyer 2020-08-06 20:52:28 -05:00
  • 6dd331b21d Use Go's -short flag as a way to avoid running integration tests. Matt Moyer 2020-08-06 20:44:14 -05:00
  • c4bbb64622 Fix latent linter issues. Matt Moyer 2020-08-06 20:42:20 -05:00
  • 7143058462 Update hack scripts to use new docker workflow. Matt Moyer 2020-08-06 19:30:18 -05:00
  • c5d5914866 Split up into multiple modules. Matt Moyer 2020-08-05 16:28:47 -05:00
  • af656d4b02 Our new directory structure is deeper, so expand this search. Matt Moyer 2020-08-05 16:19:29 -05:00
  • 9e9868bd16 Add hack/module.sh script to run module tasks aram price 2020-07-31 17:09:05 -07:00
  • cbe4c1b370 Pull placeholder-name-api back into this repo as a library. Matt Moyer 2020-08-05 15:58:03 -05:00
  • ad55f9e310 Pull placeholder-name-client-go back into this repo as a library. Matt Moyer 2020-08-05 09:54:51 -05:00
  • 0b4590b237 Now that we have a testutil package, put ioutil.go into it Andrew Keesler 2020-08-06 15:19:09 -07:00
  • f10c61f591 Add request logging to the create LoginRequest endpoint Ryan Richard 2020-08-06 15:14:30 -07:00
  • 31e6d8fbb1 Drop main module dependency on test module Andrew Keesler 2020-08-06 10:29:04 -04:00
  • dd278b46a8 Build with CGO_ENABLED=0 in Dockerfile Ryan Richard 2020-08-05 17:43:24 -07:00
  • da5b509cc6 Stop using $PLACEHOLDER_NAME_TEST_INTEGRATION Andrew Keesler 2020-08-05 14:15:45 -07:00
  • 2b573d8642 Merge pull request #41 from mattmoyer/lint-cleanup Matt Moyer 2020-08-05 09:48:19 -05:00
  • 519484816d Clean up some lint errors that we missed before. Matt Moyer 2020-08-04 20:45:03 -05:00
  • 6da420d865 Merge pull request #40 from cfryanr/garbage_collection_bug Ryan Richard 2020-08-04 17:29:26 -07:00
  • f8567450ee Increase test timeout to avoid CI flakes Ryan Richard 2020-08-04 17:28:16 -07:00
  • 08961919b5 Fix a garbage collection bug Ryan Richard 2020-08-04 16:46:27 -07:00
  • 92939cf118 Indent pod template annotations correctly in deployment.yaml Andrew Keesler 2020-08-04 14:34:10 -07:00
  • fb843aa15b Indent pod template annotations correctly in deployment.yaml Andrew Keesler 2020-08-04 14:34:10 -07:00
  • 7ce49bf89c Empty commit to trigger CI Andrew Keesler 2020-08-04 13:14:49 -07:00
  • 09571d1117 Merge pull request #33 from cfryanr/discovery_doc Ryan Richard 2020-08-04 10:01:20 -07:00
  • 573202140d Merge pull request #39 from mattmoyer/fix-certificate-group-field Matt Moyer 2020-08-03 17:46:31 -05:00
  • fdbc30365d Use the correct field when encoding groups into the certificate. Matt Moyer 2020-08-03 17:31:18 -05:00
  • b70c62a1b3 Add a test case to TestSuccessfulLoginRequest to verify access as group. Matt Moyer 2020-08-03 17:29:55 -05:00
  • 2b9d2ca293 Merge remote-tracking branch 'upstream/main' into discovery_doc Andrew Keesler 2020-08-03 14:47:56 -04:00
  • 12120d7e8b Force CI to run. Andrew Keesler 2020-08-03 14:45:39 -04:00
  • 727a5883f2 Bring over ytt values.yaml update from discovery PR Ryan Richard 2020-08-03 14:40:18 -04:00
  • ca80d87dcf Use rest.Config for discovery URL instead of env var Ryan Richard 2020-08-03 14:36:08 -04:00
  • e884cef1ef Resolve SingularName TODO with comment Andrew Keesler 2020-08-03 10:29:54 -04:00
  • 597408a977 Allow override of discovery URL via ConfigMap Andrew Keesler 2020-08-03 10:17:11 -04:00
  • 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