-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: Harden informer cache with label selectors and memory optimizations #6242
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,14 @@ | ||
| - op: replace | ||
| path: "/spec/template/spec/containers/0/env/0" | ||
| value: | ||
| name: RELATED_IMAGE_FEATURE_SERVER | ||
| value: ${FS_IMG} | ||
| - op: replace | ||
| path: "/spec/template/spec/containers/0/env/1" | ||
| value: | ||
| name: RELATED_IMAGE_CRON_JOB | ||
| value: ${CJ_IMG} | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: controller-manager | ||
| spec: | ||
| template: | ||
| spec: | ||
| containers: | ||
| - name: manager | ||
| env: | ||
| - name: RELATED_IMAGE_FEATURE_SERVER | ||
| value: ${FS_IMG} | ||
| - name: RELATED_IMAGE_CRON_JOB | ||
| value: ${CJ_IMG} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,14 @@ | ||
| - op: replace | ||
| path: "/spec/template/spec/containers/0/env/0" | ||
| value: | ||
| name: RELATED_IMAGE_FEATURE_SERVER | ||
| value: quay.io/feastdev/feature-server:0.62.0 | ||
| - op: replace | ||
| path: "/spec/template/spec/containers/0/env/1" | ||
| value: | ||
| name: RELATED_IMAGE_CRON_JOB | ||
| value: quay.io/openshift/origin-cli:4.17 | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: controller-manager | ||
| spec: | ||
| template: | ||
| spec: | ||
| containers: | ||
| - name: manager | ||
| env: | ||
| - name: RELATED_IMAGE_FEATURE_SERVER | ||
| value: quay.io/feastdev/feature-server:0.62.0 | ||
| - name: RELATED_IMAGE_CRON_JOB | ||
| value: quay.io/openshift/origin-cli:4.17 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -331,6 +331,7 @@ func (authz *FeastAuthorization) getLabels() map[string]string { | |
| return map[string]string{ | ||
| services.NameLabelKey: authz.Handler.FeatureStore.Name, | ||
| services.ServiceTypeLabelKey: string(services.AuthzFeastType), | ||
| services.ManagedByLabelKey: services.ManagedByLabelValue, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 removeOrphanedRoles silently skips pre-upgrade custom auth Roles due to stricter label selector The The main feast Role and RoleBinding are still cleaned up correctly via Prompt for agentsWas this helpful? React with 👍 or 👎 to provide feedback. |
||
| } | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.