-
Notifications
You must be signed in to change notification settings - Fork 262
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
Introduce feature gates #788
Introduce feature gates #788
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
f69b9df
to
dbe5a18
Compare
opts := zap.Options{ | ||
TimeEncoder: zapcore.RFC3339NanoTimeEncoder, | ||
ZapOpts: []zaplog.Option{zaplog.AddCaller()}, | ||
} | ||
opts.BindFlags(flag.CommandLine) | ||
flag.Parse() | ||
|
||
if err := utilfeature.DefaultMutableFeatureGate.Set(featureGates); err != nil { | ||
os.Exit(1) |
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.
Can we output an error log?
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.
Make sense, and I'll add another log error below the same time.:
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, kerthcet 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 |
Signed-off-by: kerthcet <[email protected]>
Signed-off-by: kerthcet <[email protected]>
Signed-off-by: kerthcet <[email protected]>
dbe5a18
to
2058162
Compare
@tenzen-y can you review again? Rebased because of the go.mod conflicts. |
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.
@kerthcet Thank you for the update!
/lgtm
/hold
Feel free to do /unhold
.
@@ -308,14 +317,12 @@ func apply(configFile string) (ctrl.Options, config.Configuration, error) { | |||
} | |||
if len(errorlist) > 0 { | |||
err := errorlist.ToAggregate() | |||
setupLog.Error(err, "unknown framework", "available", jobframework.GetIntegrationsList()) |
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.
Nice work :)
The field.NotSupported
returns a similar message.
/hold cancel |
What type of PR is this?
/kind feature
/assign @alculquicondor
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #740
Special notes for your reviewer:
Does this PR introduce a user-facing change?