-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ wire up ServiceAccount based caching layer #1074
✨ wire up ServiceAccount based caching layer #1074
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1074 +/- ##
==========================================
- Coverage 72.93% 72.82% -0.11%
==========================================
Files 31 32 +1
Lines 1862 1866 +4
==========================================
+ Hits 1358 1359 +1
- Misses 366 368 +2
- Partials 138 139 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
941737c
to
274df7e
Compare
274df7e
to
b2dc337
Compare
Signed-off-by: everettraven <[email protected]>
b2dc337
to
5e51907
Compare
Signed-off-by: everettraven <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@skattoju: changing LGTM is restricted to collaborators In response to this:
Instructions 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. |
@@ -200,7 +204,6 @@ func main() { | |||
acg, err := action.NewWrappedActionClientGetter(cfgGetter, | |||
helmclient.WithFailureRollbacks(false), | |||
) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: change in whitespace
@@ -533,13 +508,11 @@ func (r *ClusterExtensionReconciler) SetupWithManager(mgr ctrl.Manager) error { | |||
}, | |||
})). | |||
Build(r) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: whitespace-only change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Just small wicked minor nits.
b73ea5c
* wire up serviceaccount based caching layer Signed-off-by: everettraven <[email protected]> * remove body close Signed-off-by: everettraven <[email protected]> --------- Signed-off-by: everettraven <[email protected]>
* wire up serviceaccount based caching layer Signed-off-by: everettraven <[email protected]> * remove body close Signed-off-by: everettraven <[email protected]> --------- Signed-off-by: everettraven <[email protected]>
Description
TokenTripper
that wraps ahttp.RoundTripper
to always set the Authorization header to the referenced ServiceAccountbind
+escalate
for RBAC to keep the SA permissions as succinct as possible. Open to changing this if desired)ClusterExtensionReconciler
to have an exported field that can be used to configure thecontentmanager.Watcher
that should be used to establish watches on the ClusterExtension managed objectscontentmanager.Instance.Watch()
method to create watches with the same configurations as existed in theClusterExtensionReconciler.reconcile()
method previouslyresolves #975
resolves #983
Reviewer Checklist