Ryan Richard
cf56c67329
Move LoginDiscoveryConfig to the crds.placeholder.suzerain-io.github.io group
...
- Also includes bumping the api and client-go dependencies to the newer
version which also moved LoginDiscoveryConfig to the
crds.placeholder.suzerain-io.github.io group in the generated code
2020-07-31 17:22:12 -07:00
Ryan Richard
2aa80e3576
More WIP for the publisher controller
2020-07-31 14:35:20 -07:00
Andrew Keesler
52546fad90
WIP: start on publisher controller integration
2020-07-31 12:08:07 -04:00
Matt Moyer
076f8805d2
Update integration tests to assert a non-nil expiration timestamp.
...
Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-07-30 16:41:12 -05:00
Matt Moyer
04cacabc16
Convert pkg/client to depend only on stdlib.
...
Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-07-30 13:49:45 -05:00
Andrew Keesler
409462e989
Remove the controller pkg because it was moved to another repo
...
Signed-off-by: Ryan Richard <richardry@vmware.com>
2020-07-29 13:53:40 -07:00
Matt Moyer
48433eb36b
Add integration tests for the client package.
...
Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-07-28 15:15:59 -05:00
Ryan Richard
899f736b8c
Int test for LoginRequest grants permissions to test user
...
- Dynamically grant RBAC permission to the test user to allow them
to make read requests via the API
- Then use the credential returned from the LoginRequest to make a
request back to the API server which should be successful
2020-07-24 15:57:29 -07:00
Ryan Richard
6001f1f456
Fix a failing unit test and import mistake from previous commits
2020-07-24 14:32:07 -07:00
Ryan Richard
99b35e1a61
Merge branch 'main' into issue-cert
2020-07-24 14:11:06 -07:00
Andrew Keesler
0d667466e8
Merge pull request #26 from ankeesler/proposed-integration-test-cleanup
...
Condense discovery integration tests
2020-07-24 14:59:05 -04:00
Andrew Keesler
6cc8a2f8dd
WIP: initial integration test for cert issuing
2020-07-24 13:01:58 -04:00
Matt Moyer
a7748a360e
Extend integration tests to check new LoginRequest API semantics.
...
Signed-off-by: Ryan Richard <richardry@vmware.com>
Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-07-24 11:15:41 -05:00
Andrew Keesler
e1f44e2654
Condense discovery integration tests
...
I think these tests do roughly the same thing...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2020-07-24 11:17:32 -04:00
Ryan Richard
6a93de3931
More validations and error handling for create LoginRequest endpoint
2020-07-23 16:01:55 -07:00
Mo Khan
5fdc20886d
Initial aggregated API server ( #15 )
...
Add initial aggregated API server (squashed from a bunch of commits).
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
Signed-off-by: Aram Price <pricear@vmware.com>
Signed-off-by: Ryan Richard <richardry@vmware.com>
2020-07-23 10:05:21 -05:00
Monis Khan
d4eeb74641
Add initial controller boilerplate and example controller
...
Signed-off-by: Monis Khan <mok@vmware.com>
2020-07-22 22:27:55 -04:00
Monis Khan
7da347866b
Avoid hard-coding namespace and deployment names in integration tests
...
Signed-off-by: Ryan Richard <richardry@vmware.com>
2020-07-09 13:57:59 -07:00
Ryan Richard
d3d9cc6fac
Change the name of the env var that turns on integration tests
...
- Trying to use "placeholder-name" or "placeholder_name" everywhere
that should later be changed to the actual name of the product,
so we can just do a simple search and replace when we have a name.
2020-07-09 13:43:30 -07:00
Monis Khan
a544f7d7bf
Add integration test to check app is running
...
Signed-off-by: Monis Khan <mok@vmware.com>
2020-07-09 15:30:59 -04:00
Ryan Richard
c307a263ec
TestGetNodes prints more output for debugging failures
2020-07-08 16:37:25 -07:00
Monis Khan
8d6a645915
Make the linters happy
...
Signed-off-by: Monis Khan <mok@vmware.com>
2020-07-08 01:20:34 -04:00
Monis Khan
622d488fc3
Add integration test stub
...
Signed-off-by: Monis Khan <mok@vmware.com>
2020-07-07 22:59:00 -04:00