-
Notifications
You must be signed in to change notification settings - Fork 1k
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
add a flag to control whether inherit owner annotations when podgroup… #2461
Conversation
Do you link a wrong issue? What's the use case to inherit owner annotations? |
It's the right issue. This feather has already been in volcano, I just add a flag so that people can disable it. |
@@ -82,6 +84,7 @@ func (s *ServerOption) AddFlags(fs *pflag.FlagSet) { | |||
fs.BoolVar(&s.EnableHealthz, "enable-healthz", false, "Enable the health check; it is false by default") | |||
fs.DurationVar(&s.DetectionPeriodOfDependsOntask, "detection-period-of-dependson-task", defaultDetectionPeriodOfDependsOntask, "It indicates how often to detect the status of dependent tasks."+ | |||
"e.g. --detection-period-of-dependson-task=1s") | |||
fs.BoolVar(&s.InheritOwnerAnnotations, "inerit-owner-annotations", true, "Enable inherit owner annotations for pods when create podgroup; it is enabled by default") |
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.
s/inerit-owner-annotations/inherit-owner-annotations/g
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.
fixed
… created Signed-off-by: xilinxing <xilinxing@huawei.com>
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: william-wang 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 |
Fix #2460