Benjamin A. Petersen
9a21cb9cc7
update code generation
2024-04-29 15:21:35 -04:00
Joshua Casey
9a8df262d9
Code generation: Add 1.30.0 and bump other patch versions
2024-04-26 11:54:53 -07:00
Benjamin A. Petersen
0edee37498
Update idp discovery types
2024-04-25 17:02:05 -04:00
Benjamin A. Petersen
0c7e95539f
Add GitHub to FederationDomain IdP ListerFinder
2024-04-25 16:51:47 -04:00
Ryan Richard
def2b35e6e
Make ID token lifetimes configurable on OIDCClient resources
2024-04-24 14:13:40 -07:00
Joshua Casey
14b1b7c862
Polish up the github_upstream_watcher: default and verify spec.claims correctly
2024-04-24 13:37:40 -05:00
Joshua Casey
c9b61ef010
Populate internal GitHub IDP Config from CRD
2024-04-16 14:33:01 -05:00
Joshua Casey
42dd8d1d9d
First draft of a GitHubIdentityProvider CRD
2024-04-01 15:10:46 -05:00
Benjamin A. Petersen
590e2d18f7
Add WebhookAuthenticator integration tests, expand unit tests
...
- Add WebhookAuthenticator unit tests, update generated code
- Add validateTLSNegotiation(), update tests
- Update validateTLSNegotiation, add unit tests, factor out helpers
- Update generated code
2024-03-19 16:48:05 -04:00
Benjamin A. Petersen
ef36b454ba
Improve WebhookAuthenticator Status and Validations
...
- Validate TLS Configuration
- Validate Endpoint
- Validate TLS Negotiation
- Report status handshake negotiation with webhook
- Unit tests
- Integration tests
2024-03-19 16:48:03 -04:00
Ryan Richard
b79a2ccf7c
Add 1.29 and update patch versions in kube-versions.txt; run codegen
2024-02-29 12:00:02 -08:00
Benjamin A. Petersen
e8482ab9e9
Update jwtauthenticator unit tests to check actions
...
- Add test to verify timestamps are particularly updated
- Improve diff output in tests for actions
- Make jwtauthenticator status tests parallel
- Update copyright headers in multiple files
2024-02-27 15:45:32 -08:00
Benjamin A. Petersen
a4447fa606
Add .Status to JWTAuthenticator with Conditions,Phase
...
- "Ready" condition & supporting conditions
- Legacy "Phase" for convenience
- Refactor newCachedJWTAuthenticator() func
to improve ability to provide additional conditions
- Update JWTAuthenticator.Status type
- Update RBAC for SA to get/watch/update JWTAuthenticator.Status
- Update logger to plog, add tests for logs & statuses
- update Sync() to reduce enqueue when error is config/user managed, perhaps remove validateJWKSResponse()
2024-02-27 15:45:32 -08:00
Ryan Richard
1bc13e94f7
Refactor to extract interface for upstream IDP interactions
...
Create an interface to abstract the upstream IDP from the
authorize, IDP discovery, callback, choose IDP, and login
endpoints. This commit does not refactor the token endpoint,
which will be refactored in a similar way in the next commit.
2024-02-20 09:26:34 -08:00
Ryan Richard
bf3b4bfca7
Rerun codegen after upgrading CI controller-gen from v0.13.0 to v0.14.0
2024-02-08 13:27:02 -08:00
Ryan Richard
aa651973fc
Update kube-versions.txt and rerun codegen
2023-12-04 12:11:37 -08:00
Ryan Richard
247123965e
run codegen again
2023-10-18 12:47:43 -07:00
Joshua Casey
097a1ac3d3
Run k8s codegen
2023-10-18 09:23:55 -07:00
Ryan Richard
13f0b5e782
Update kube versions for codegen
2023-10-09 15:18:15 -07:00
Joshua Casey
ac9887afdc
Use latest controller-gen, which allows CEL validations
2023-09-25 15:58:32 -05:00
Ryan Richard
edc5f3fc15
update kube-versions.txt for codegen
2023-09-14 13:01:46 -07:00
Ryan Richard
a7bd494ec3
update FederationDomain.status.conditions to come from metav1
2023-09-11 13:06:52 -07:00
Ryan Richard
593d55ec09
run codegen again after rebasing main branch into feature branch
2023-09-11 11:15:37 -07:00
Ryan Richard
3521e129cd
Change name of FederationDomain printer column back to "Status"
...
To be consistent with the name of the pinter columns on our other CRDs,
which call the Phase "Status" in the printer column names.
2023-09-11 11:14:04 -07:00
Ryan Richard
0b408f4fc0
Change FederationDomain.Status to use Phase and Conditions
2023-09-11 11:14:02 -07:00
Ryan Richard
514f9964c1
update 1.27 codegen for multiple IDPs
2023-09-11 11:12:25 -07:00
Ryan Richard
be11966a64
Add APIs for multiple IDP and id transformations to FederationDomain CRD
2023-09-11 11:09:46 -07:00
Joshua Casey
64f1bff13f
Use Conditions from apimachinery, specifically k8s.io/apimachinery/pkg/apis/meta/v1.Conditions
2023-09-11 10:13:39 -07:00
Joshua Casey
3908097c54
Run 'go fix ./...' with go1.21.0
2023-09-06 14:52:01 -05:00
Joshua Casey
5c9d26baeb
Remove generated code for K8s 1.17, 1.18, 1.19, and 1.20
...
- Kind 0.20.0 supports 1.21 through 1.28 (inclusive)
- https://github.com/kubernetes-sigs/kind/releases/tag/v0.20.0
2023-08-28 16:56:32 -05:00
Joshua Casey
c51722a121
Run K8s codegen, adding 1.28.0
2023-08-28 10:50:11 -05:00
Joshua Casey
dc61d132cf
Address PR feedback, especially to check that the CA bundle is some kind of valid cert
2023-08-03 14:57:21 -05:00
Joshua Casey
8df9033bfc
Add CredentialIssuer.Spec.ImpersonationProxy.TLS to configure an externally provided TLS secret
2023-08-03 14:57:21 -05:00
Joshua Casey
89b7007694
Bump K8s APIs 1.24 through 1.27
2023-07-21 10:36:18 -05:00
Joshua Casey
1ac36cfcf8
Update generated files
2023-07-05 21:28:23 -07:00
Ryan Richard
020e04baf8
Merge branch 'main' into ldap_userAttributeForFilter
2023-05-31 16:42:30 -07:00
Ryan Richard
a78c677ca1
bump versions in kube-versions.txt and run codegen
2023-05-31 13:32:41 -07:00
Ryan Richard
0a1f966886
Add ActiveDirectoryIdentityProvider.spec.groupSearch.userAttributeForFilter
...
Add the field to the tmpl file and run codegen.
Also update the count of the fields of our APIs in an integration test.
2023-05-31 11:09:08 -07:00
Ryan Richard
bad5e60a8e
Add LDAPIdentityProvider.spec.groupSearch.userAttributeForFilter
...
Add the field to the tmpl file and run codegen.
Also update the count of the fields of our APIs in an integration test.
2023-05-25 09:52:15 -07:00
Ryan Richard
8c3395481b
ran update.sh for new kube patch versions and adding 1.27
2023-05-10 12:39:35 -07:00
Joshua Casey
1699a9995e
Update generated K8s API files
2023-03-20 18:44:48 -05:00
Joshua Casey
daf4be03ce
Update generated kubernetes API files
2023-03-05 22:12:54 -06:00
Joshua Casey
a430f4b730
Bump K8s deps to 0.26 and add codegen for 0.26
2023-01-18 13:41:06 -08:00
Joshua Casey
585adc96d8
Bump generated files for K8s 1.22, 1.23, 1.24, 1.25
2023-01-18 13:38:36 -08:00
Ryan Richard
2f9b8b105d
update copyright to 2023 in files changed by this PR
2023-01-17 15:54:16 -08:00
Ryan Richard
8ff6ef32e9
Allow additional claims to map into an ID token issued by the supervisor
...
- Specify mappings on OIDCIdentityProvider.spec.claims.additionalClaimMappings
- Advertise additionalClaims in the OIDC discovery endpoint under claims_supported
Co-authored-by: Ryan Richard <richardry@vmware.com >
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com >
2023-01-13 14:59:50 -08:00
Ryan Richard
3b507dab4a
Upgrade generated code to use the latest available versions of Kube libs
...
Manually kube-versions.txt and then ran ./hack/update.sh to update the
generated code.
2022-09-23 14:55:23 -07:00
Ryan Richard
7997285b19
Make fields optional on OIDCClientSecretRequest
2022-09-21 15:17:08 -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
dc39162597
Rerun codegen after merging main into dynamic_clients
...
Needed to update the new v1.25 generated code to include the new APIs
that were added in the dynamic_clients branch.
2022-08-26 12:13:53 -07:00