-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
AttachDetachControllerConfiguration.ReconcilerSyncLoopPeriod default value comment fix #120666
AttachDetachControllerConfiguration.ReconcilerSyncLoopPeriod default value comment fix #120666
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
Hi @b8kings0ga. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
@carlory Sorry I accidentally closed the last PR since I reset to last commit instead of "My" last commit, and I recommit it and running make update. please review if anything else is wrong |
/ok-to-test |
/retest
…---Original---
From: "Kubernetes Prow ***@***.***>
Date: Thu, Sep 14, 2023 22:58 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [kubernetes/kubernetes]AttachDetachControllerConfiguration.ReconcilerSyncLoopPeriod default valuecomment fix (PR #120666)
@b8kings0ga: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name Commit Details Required Rerun command
pull-kubernetes-verify 9be4a57 link true /test pull-kubernetes-verify
pull-kubernetes-e2e-gce 9be4a57 link true /test pull-kubernetes-e2e-gce
pull-kubernetes-e2e-kind-ipv6 9be4a57 link true /test pull-kubernetes-e2e-kind-ipv6
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
/retest-required
…---Original---
From: "Kubernetes Prow ***@***.***>
Date: Thu, Sep 14, 2023 23:19 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [kubernetes/kubernetes]AttachDetachControllerConfiguration.ReconcilerSyncLoopPeriod default valuecomment fix (PR #120666)
@b8kings0ga: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name Commit Details Required Rerun command
pull-kubernetes-e2e-gce 9be4a57 link true /test pull-kubernetes-e2e-gce
pull-kubernetes-e2e-kind-ipv6 9be4a57 link true /test pull-kubernetes-e2e-kind-ipv6
pull-kubernetes-verify 9be4a57 link true /test pull-kubernetes-verify
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
/remove-sig api-machinery |
@b8kings0ga make sure you have fetched latest tags before you regenerate openapi, it looks like your local git repo thinks it is on an older k8s version |
/remove-sig api-machinery |
@b8kings0ga please use |
7e1af42
to
8c38f9c
Compare
8c38f9c
to
9345da5
Compare
@liggitt you are right, after running
all latest tag are fetched and things go right, thanks! |
@carlory sorry for that, I'm aware now |
LGTM label has been added. Git tree hash: 433bbd4da0d9a49ce6f6de3591ef646ef538d875
|
/remove-sig api-machinery |
@msau42 sorry but can you "/approve" this again because I accidentally close the last PR and didn't thought I have permission to reopen it 😅 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: b8kings0ga, thockin 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 |
What type of PR is this?
this is the alternative PR for #118708 because I change my computer and accidentally closed that one
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #118700
Special notes for your reviewer:
default is located at:
/pkg/controller/volume/attachdetach/config/v1alpha1/defaults.go
// RecommendedDefaultAttachDetachControllerConfiguration defaults a pointer to a // AttachDetachControllerConfiguration struct. This will set the recommended default // values, but they may be subject to change between API versions. This function // is intentionally not registered in the scheme as a "normal"SetDefaults_Foo// function to allow consumers of this type to set whatever defaults for their // embedded configs. Forcing consumers to use these defaults would be problematic // as defaulting in the scheme is done as part of the conversion, and there would // be no easy way to opt-out. Instead, if you want to use this defaulting method // run it in your wrapper struct of this type in itsSetDefaults_` method.
func RecommendedDefaultAttachDetachControllerConfiguration(obj *kubectrlmgrconfigv1alpha1.AttachDetachControllerConfiguration) {
zero := metav1.Duration{}
if obj.ReconcilerSyncLoopPeriod == zero {
obj.ReconcilerSyncLoopPeriod = metav1.Duration{Duration: 60 * time.Second}
}
}
`
Does this PR introduce a user-facing change?
NONE
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: