Commit Graph

  • 66f4e62c6c Add internal/mocks/mocktokenauthenticator generated mocks. Matt Moyer 2020-09-11 10:34:59 -05:00
  • 80a23bd2fd Rename "Webhook" to "TokenAuthenticator" in our REST handler and callers. Matt Moyer 2020-09-09 13:22:26 -05:00
  • 2bdbac3e15 Move the ytt webhook config out into the CRD. Matt Moyer 2020-09-09 13:15:35 -05:00
  • 5b9f2ec9fc Give our controller access to all our CRD types. Matt Moyer 2020-09-09 13:11:16 -05:00
  • fc220d5f79 Remove kubectl dry-run verify for now. Matt Moyer 2020-09-14 13:41:21 -05:00
  • 3344b5b86a Expect the WebhookIdentityProvider CRD to be installed. Matt Moyer 2020-09-09 10:36:38 -05:00
  • 557fd0df26 Define the WebhookIdentityProvider CRD. Matt Moyer 2020-09-01 11:55:33 -05:00
  • 9bb3d4ef28 Add .gitattributes as a hint to the GitHub diff viewer. Matt Moyer 2020-09-15 11:22:35 -05:00
  • 4ced58b5b7 Add help/usage units for CLI exchange-credential subcommand Ryan Richard 2020-09-15 09:05:40 -07:00
  • 831df90c93 test/integration: add integration test for pinniped cli Andrew Keesler 2020-09-15 11:00:38 -04:00
  • 82ef9e4806 cmd/pinniped/cmd: fix some linting errors Andrew Keesler 2020-09-15 11:00:00 -04:00
  • 879d847ffb cmd/pinniped/cmd: add get-kubeconfig cli tests Andrew Keesler 2020-09-15 10:04:25 -04:00
  • 4379d2772c CLI get-kubeconfig command reads kubeconfig and CredentialIssuerConfig Ryan Richard 2020-09-14 19:07:18 -07:00
  • 21187bc28a Merge pull request #103 from mattmoyer/add-controller-utils Matt Moyer 2020-09-14 13:59:32 -05:00
  • 9bad0d52f7 Merge pull request #102 from mattmoyer/prefactor-test-helpers aram price 2020-09-14 11:38:05 -07:00
  • 92fabf43b3 Add new controller.SimpleFilter and controller.NoOpFilter utilities. Matt Moyer 2020-09-09 14:55:59 -05:00
  • 7d8c28a9dc Extract testutil.TLSTestServer so it can be reused elsewhere. Matt Moyer 2020-09-14 10:34:41 -05:00
  • bbef017989 Add a testlogger util package for testing go-logr. Matt Moyer 2020-09-14 12:57:07 -05:00
  • 7515af639a ADOPTERS.md: add initial draft Andrew Keesler 2020-09-14 10:42:29 -04:00
  • 39b66086cc doc/architecture.md: first draft Andrew Keesler 2020-09-14 09:17:46 -04:00
  • 872330bee9 Require newer version of kubectl in prepare-for-integration-tests.sh Ryan Richard 2020-09-13 10:22:27 -07:00
  • 2cdc3defb7 Use here.Doc() in a few more places that were begging for it Ryan Richard 2020-09-11 18:15:24 -07:00
  • da7c981f14 Organize Pinniped CLI into subcommands; Add get-kubeconfig subcommand Ryan Richard 2020-09-11 17:56:05 -07:00
  • 19c671a60a cmd/local-user-authenticator: go back to use TokenReview structs Andrew Keesler 2020-09-11 15:19:05 -04:00
  • 17d40b7a73 cmd/local-user-authenticator: protect against nil-body Andrew Keesler 2020-09-11 12:44:45 -04:00
  • 4e40c0320e cmd/local-user-authenticator: use v1beta1 everywhere Andrew Keesler 2020-09-11 12:14:12 -04:00
  • a3dbb309d0 cmd/local-user-authenticator: check for invalid TokenReview type meta Andrew Keesler 2020-09-11 12:06:50 -04:00
  • c436f84b3d Fix a nil dereference crash in rest.go Ryan Richard 2020-09-11 13:08:54 -07:00
  • f685cd228f More integration test script updates Ryan Richard 2020-09-11 08:43:53 -07:00
  • 63f9db72e8 Improvements and simplifications to prepare-for-integration-tests.sh Ryan Richard 2020-09-11 08:19:49 -07:00
  • 004cfe380d doc/contributing.md: add a tiny blurb about integration tests Andrew Keesler 2020-09-11 10:29:21 -04:00
  • b1d9665b03 Merge pull request #90 from suzerain-io/easy_demo Andrew Keesler 2020-09-11 10:26:20 -04:00
  • 4fa7e1bd76 hack/prepare-for-integration-tests.sh: use log helper Andrew Keesler 2020-09-11 10:09:13 -04:00
  • 22bf24b775 Fix a unit test failure that only happens on golang 1.15 Ryan Richard 2020-09-10 18:50:34 -07:00
  • 6deaa0fb1a Fix lint errors Ryan Richard 2020-09-10 18:34:18 -07:00
  • 4fe609a043 Remove mentions of uninstall tests and other repos from prepare-for-integration-tests.sh Ryan Richard 2020-09-10 17:36:22 -07:00
  • e6cb2f8220 Assert on specific expected username and groups in integration tests Andrew Keesler 2020-09-10 17:10:27 -07:00
  • b7bdb7f3b1 Rename test-webhook to local-user-authenticator Ryan Richard 2020-09-10 15:20:02 -07:00
  • 9baea83066 Improve the parsing of headers in test-webhook Ryan Richard 2020-09-10 15:00:53 -07:00
  • 56be4a6761 Add more logging to test-webhook's endpoint Andrew Keesler 2020-09-10 13:37:25 -07:00
  • b506ac5823 Port integration test setup script from CI repo Andrew Keesler 2020-09-10 11:30:15 -04:00
  • fec31b71c0 deploy-test-webhook/README.md: add another tool needed for the demo Andrew Keesler 2020-09-10 09:50:17 -04:00
  • 89d01b84f8 deploy/README.md: fix markdown link to test webhook README.md Andrew Keesler 2020-09-10 09:33:46 -04:00
  • fc3b4e9ae1 hack/test-unit.sh: remove this alias to cut down on scripts Andrew Keesler 2020-09-10 09:26:18 -04:00
  • 2565f67824 Create a deployment for test-webhook Ryan Richard 2020-09-09 19:06:39 -07:00
  • 3ee7a0d881 cmd/test-webhook: first draft of webhook Ryan Richard 2020-09-09 15:27:30 -04:00
  • 7207041c37 Merge pull request #91 from mattmoyer/prefactor-api-resource-test Matt Moyer 2020-09-09 10:46:13 -05:00
  • 7f9cb43ffa Refactor GetAPIResourceList test a bit to prep for IDP CRD changes. Matt Moyer 2020-09-09 10:23:28 -05:00
  • 20b21e8639 Prefactor: Move updating of APIService to a separate controller Ryan Richard 2020-09-08 16:36:49 -07:00
  • 3d09afbfb3 Merge pull request #88 from mattmoyer/add-replica-count-param Matt Moyer 2020-09-08 11:54:11 -05:00
  • b0315e5e9f Add a ytt template value for replica count. Matt Moyer 2020-09-03 22:52:01 -05:00
  • f8f16fadb9 Merge pull request #69 from ankeesler/pod-anti-affinity Andrew Keesler 2020-09-08 11:01:55 -04:00
  • ba53218711 Merge pull request #84 from suzerain-io/dependabot/docker/golang-1.15.1 Matt Moyer 2020-09-08 09:33:03 -05:00
  • 1415fcc6dc Add pod anti-affinity to make our HA deployment more HA Andrew Keesler 2020-08-21 11:14:45 -04:00
  • ab82b2ea64 Merge pull request #86 from suzerain-io/dependabot/go_modules/github.com/golangci/golangci-lint-1.31.0 Matt Moyer 2020-09-08 08:40:52 -05:00
  • 1dcba155a2 Merge pull request #85 from suzerain-io/dependabot/go_modules/github.com/go-logr/logr-0.2.1 Matt Moyer 2020-09-08 08:37:17 -05:00
  • 9c8d30fa86 Bump github.com/golangci/golangci-lint from 1.30.0 to 1.31.0 dependabot[bot] 2020-09-08 06:07:24 +00:00
  • 1d004a7326 Bump github.com/go-logr/logr from 0.2.0 to 0.2.1 dependabot[bot] 2020-09-07 05:49:14 +00:00
  • a2e8b2aa0c Bump golang from 1.15.0 to 1.15.1 dependabot[bot] 2020-09-02 06:03:19 +00:00
  • 3e4816c811 Merge pull request #82 from mattmoyer/add-crd-generation Matt Moyer 2020-08-31 17:18:28 -05:00
  • 8e5912e4c2 Update precommit hook config to ignore generated files and fix whitespace. Matt Moyer 2020-08-31 16:41:22 -05:00
  • 2959b54e7b Generate CRD YAML using controller-tools, update doc strings. Matt Moyer 2020-08-31 16:06:28 -05:00
  • f49317d7e4 Add some generated API documentation. (#81) Matt Moyer 2020-08-31 11:27:39 -05:00
  • 2546d3f823 Merge pull request #79 from suzerain-io/dependabot/go_modules/github.com/golang/mock-1.4.4 Matt Moyer 2020-08-28 17:33:18 -05:00
  • 0c5d38090e Bump github.com/golang/mock from 1.4.3 to 1.4.4 dependabot[bot] 2020-08-28 22:21:11 +00:00
  • cd00aad610 Merge pull request #78 from suzerain-io/dependabot/go_modules/github.com/google/go-cmp-0.5.2 Matt Moyer 2020-08-28 17:18:03 -05:00
  • eb4b2b1ecd Merge pull request #80 from suzerain-io/dependabot/go_modules/k8s.io/klog/v2-2.3.0 Matt Moyer 2020-08-28 17:17:42 -05:00
  • b5f7ff2e33 Bump k8s.io/klog/v2 from 2.2.0 to 2.3.0 dependabot[bot] 2020-08-28 22:03:22 +00:00
  • 21fd807037 Bump github.com/google/go-cmp from 0.5.0 to 0.5.2 dependabot[bot] 2020-08-28 22:03:10 +00:00
  • b0d99abf22 Merge pull request #77 from mattmoyer/monorepo-part-three Matt Moyer 2020-08-28 16:30:18 -05:00
  • 0135d8b6c3 Fix a flake in kubecertauthority_test.go. Matt Moyer 2020-08-28 16:13:43 -05:00
  • ecf67862e2 Empty commit to trigger CI. Matt Moyer 2020-08-28 14:55:07 -05:00
  • aeee2cf05e Fix some linter complaints in controllerlib. Matt Moyer 2020-08-28 11:22:19 -05:00
  • f0c400235a Add memory request to pinniped deployment Ryan Richard 2020-08-28 15:18:48 -04:00
  • 7848332d47 Remove .netrc trick from Dockerfile. Matt Moyer 2020-08-28 11:18:16 -05:00
  • 1fcf95af01 Convert the controllerlib tests to use the same structure as our other integration tests. Matt Moyer 2020-08-28 11:17:27 -05:00
  • a503fa8673 Pull controller-go back into this repository as internal/controllerlib. Matt Moyer 2020-08-28 10:59:09 -05:00
  • 371b172616 Add code of conduct Ryan Richard 2020-08-28 09:28:27 -07:00
  • ddb7a20c53 Use EC crypto (instead of RSA) to workaround weird test timeout Andrew Keesler 2020-08-28 11:19:52 -04:00
  • a4fe76f6a9 test/integration: increase confidence that a cert has rotated Andrew Keesler 2020-08-28 10:16:57 -04:00
  • 9d7e073a9d Fix an assertion about an error message in an integration test Ryan Richard 2020-08-27 17:50:46 -07:00
  • 118ee7f9aa Merge branch 'self_test' into main Ryan Richard 2020-08-27 17:26:23 -07:00
  • e0b5c3a146 Fix an assumption about GKE in an integration test Ryan Richard 2020-08-27 17:18:48 -07:00
  • cbc80d5bc4 RetryOnConflict when updating CredentialIssuerConfig from outside any controller Ryan Richard 2020-08-27 17:11:10 -07:00
  • 20a3208564 Add more subtitles to README.md Ryan Richard 2020-08-27 15:11:38 -07:00
  • 91ba39bd3b Merge branch 'main' into self_test Ryan Richard 2020-08-27 15:02:40 -07:00
  • f6ea93e273 First draft of instructions to report security vulnerabilities Ryan Richard 2020-08-27 15:02:11 -07:00
  • d728c926c1 Merge pull request #75 from suzerain-io/readme_edits Ryan Richard 2020-08-27 14:44:08 -07:00
  • 9ecc88a898 Merge pull request #75 from suzerain-io/readme_edits Ryan Richard 2020-08-27 14:44:08 -07:00
  • 18b000e324 Small readme changes Ryan Richard 2020-08-27 14:43:16 -07:00
  • e6dd22ffb5 Merge branch 'main' into readme_edits Ryan Richard 2020-08-27 14:29:07 -07:00
  • 92a6b7f4a4 Use same lifetime for serving cert and CA cert Andrew Keesler 2020-08-27 15:59:47 -04:00
  • e39a38ecf2 Merge pull request #76 from mattmoyer/adjust-kube-versions Matt Moyer 2020-08-27 14:12:43 -05:00
  • 9d9b56073c Update Kubernetes versions. Matt Moyer 2020-08-27 12:55:30 -05:00
  • 07bb2bb956 Simplify dependabot config now that we have fewer modules. Matt Moyer 2020-08-27 12:16:09 -05:00
  • abe3f1ba4b Merge pull request #73 from mattmoyer/native-client Matt Moyer 2020-08-27 12:15:35 -05:00
  • 1375df185d Doc updates Ryan Richard 2020-08-27 10:14:03 -07:00
  • 8f93fbb87b Make ./pkg/client into an internal package using the native k8s client. Matt Moyer 2020-08-25 10:48:14 -05:00
  • 68893a1e15 Merge the ./test packages back into the main module. Matt Moyer 2020-08-25 10:27:18 -05:00
  • 9440316c20 README.md: remove Pinni (for now) Andrew Keesler 2020-08-27 11:49:31 -04:00