Skip to content
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

ps syncer: add a controller for run-level 0 namespaces #128

Merged
merged 1 commit into from Aug 14, 2023

Conversation

stlaz
Copy link
Member

@stlaz stlaz commented Aug 3, 2023

/cc @deads2k
/cc @ibihim

@openshift-ci openshift-ci bot requested review from deads2k and ibihim August 3, 2023 12:37
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 3, 2023
factory.NamesFilter("default", "kube-system", "kube-public"),
namespaceInformer.Informer(),
).
ResyncEvery(1*time.Hour).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no resync

nsLister: namespaceInformer.Lister(),
}

return factory.New().
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you sure you want to layer on this? I won't nak it, but if it's only saving 50 lines of boiler plate are you sure it's worth the trust that it works?

@deads2k
Copy link
Contributor

deads2k commented Aug 8, 2023

Great use of apply. Looks great. Question about boiler plate versus trust.

/lgtm
/hold

holding in case you want another reviewer.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 8, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 8, 2023
@stlaz
Copy link
Member Author

stlaz commented Aug 9, 2023

/lgtm cancel
I'll rewrite the boilerplate

@stlaz
Copy link
Member Author

stlaz commented Aug 14, 2023

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 14, 2023
@liouk
Copy link
Member

liouk commented Aug 14, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, liouk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 8501bc8 and 2 for PR HEAD bd14bf4 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 14, 2023

@stlaz: all tests passed!

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit e8565e6 into openshift:master Aug 14, 2023
7 checks passed

namespaceInformer.Informer().AddEventHandler(
cache.FilteringResourceEventHandler{
FilterFunc: factory.NamesFilter("default", "kube-system", "kube-public"),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, why omit the kube-node-lease namespace here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants