Ryan Richard
10444fb9a3
update unit test expectations for kube 1.35 libraries
2025-12-19 11:11:31 -08:00
Ryan Richard
d0905c02dd
use test helper in rest_test.go to reduce some duplication
...
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com >
2024-11-27 13:53:02 -06:00
Ryan Richard
c2018717b6
audit log OIDCClientSecretRequests
2024-11-27 13:53:02 -06:00
Joshua Casey
436112252d
Lint fixes
2024-08-27 13:26:39 -05:00
Ryan Richard
376b83050a
upgrade linter and fix new lint errors
2024-08-19 15:45:32 -07:00
Joshua Casey
011d6ba71b
Remove plog.Logr, make plog.TestZapr private, and CLI logs do not need a name
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
2024-06-11 17:27:45 -05:00
Joshua Casey
fe911a7b7a
Prefer slices package and slices.Concat where possible
2024-05-21 09:31:16 -05:00
Joshua Casey
f5116cddb4
Enable 'makezero' and 'prealloc' linters, and require 'any' instead of 'interface{}'
...
Enforce importas:
- go.pinniped.dev/generated/latest/apis/supervisor/config/v1alpha1
- go.pinniped.dev/generated/latest/apis/supervisor/idp/v1alpha1
2024-05-21 09:31:15 -05:00
Joshua Casey
7b36c8ab54
Enable 'copyloopvar' linter
2024-05-10 12:51:02 -05:00
Joshua Casey
67d3b5fb82
Fix misspell lint issues
2024-05-10 12:51:01 -05:00
Ryan Richard
0a63dd104d
fix test failures caused by dep bump and update replace statements
2024-05-01 11:01:13 -07:00
Ryan Richard
c7299f4daf
Update dependencies, including Kube packages to v0.29.0
2024-01-04 12:30:22 -08:00
Ryan Richard
bc9afc4554
Aggregated API endpoints now must implement rest.SingularNameProvider
...
This was a change in the interface requirements introduced in Kube 1.27.
2023-05-10 16:50:50 -07:00
Ryan Richard
12b3079377
integration tests for oidcclientsecretrequest endpoint
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2022-09-21 16:25:41 -07:00
Benjamin A. Petersen
a7ca2cf2dd
fix test name in clientsecretrequest unit tests
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2022-09-21 15:17:23 -07:00
Ryan Richard
ee3515f23b
Create OIDCClientSecretRequest returns metadata
...
Sets the Name, Namespace, CreationTimestamp fields in the object meta
of the return value.
Co-authored-by: Ryan Richard <richardry@vmware.com >
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2022-09-21 15:17:10 -07:00
Benjamin A. Petersen
6d863a159b
Add unit tests for clientsecretrequest logs
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2022-09-21 15:17:02 -07:00
Benjamin A. Petersen
5e3a912200
Add unit tests for clientsecretrequest
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2022-09-21 15:16:48 -07:00
Benjamin A. Petersen
488296a480
adding tests
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2022-09-21 15:16:12 -07:00
Ryan Richard
af01c3aeb6
Make kubectl explain work for Pinniped aggregated APIs
...
- Change update-codegen.sh script to also generated openapi code for the
aggregated API types
- Update both aggregated API servers' configuration to make them serve
the openapi docs for the aggregated APIs
- Add new integration test which runs `kubectl explain` for all Pinniped
API resources, and all fields and subfields of those resources
- Update some the comments on the API structs
- Change some names of the tmpl files to make the filename better match
the struct names
2022-09-21 15:15:37 -07:00
Ryan Richard
1c296e5c4c
Implement the OIDCClientSecretRequest API
...
This commit is a WIP commit because it doesn't include many tests
for the new feature.
Co-authored-by: Ryan Richard <richardry@vmware.com >
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2022-09-21 15:15:07 -07:00
Ryan Richard
8d8f980e86
Merge branch 'main' into dynamic_clients
2022-08-26 11:35:35 -07:00
Margo Crawford
c117329553
Updates based on code review
...
Signed-off-by: Margo Crawford <margaretc@vmware.com >
2022-06-15 09:38:21 -07:00
Margo Crawford
8f4285dbff
Change group names
...
Signed-off-by: Margo Crawford <margaretc@vmware.com >
2022-06-13 14:28:05 -07:00
Margo Crawford
889348e999
WIP aggregated api for oidcclientsecretrequest
...
Signed-off-by: Margo Crawford <margaretc@vmware.com >
2022-06-09 13:47:19 -07:00