allow set_key_use through the SpireOIDCDiscoveryProvider CR - #109
allow set_key_use through the SpireOIDCDiscoveryProvider CR#109kabicin wants to merge 2 commits into
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 50 minutes and 45 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughAdds a new optional Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 11 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kabicin The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @kabicin. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@api/v1alpha1/spire_oidc_discovery_provider_types.go`:
- Around line 65-69: The new SetKeyUse bool field on the
SpireOIDCDiscoveryProvider type is not present in the generated CRD OpenAPI
schema, so regenerate and commit the CRD: ensure the SetKeyUse field retains the
kubebuilder tags (e.g., +kubebuilder:validation:Optional and
+kubebuilder:default:=false) in spire_oidc_discovery_provider_types.go, run the
manifests generation (make manifests or controller-gen as used by the repo) to
update the CRD schema so spec.setKeyUse is included, then add and commit the
updated CRD manifest to the repo so the API server will accept the field at
apply time.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 97d72f23-adda-4138-abc5-9b9e3535d7d7
📒 Files selected for processing (2)
api/v1alpha1/spire_oidc_discovery_provider_types.gopkg/controller/spire-oidc-discovery-provider/configmaps.go
|
@bharath-b-rh @swghosh do you think you can review this PR and tell if it can be merged? Without it, I had to set this config on the |
|
/cc @rausingh-rh @anirudhAgniRedhat for the reviews. |
|
/ok-to-test |
|
@kabicin: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Fixes #108
.spec.setKeyUseinSpireOIDCDiscoveryProviderCR to passset_key_useto the OIDC discovery provider config map.Summary by CodeRabbit
Release Notes
setKeyUseconfiguration option to SpireOIDCDiscoveryProvider that allows enabling the"use": "sig"parameter on JWKS keys.