-
Notifications
You must be signed in to change notification settings - Fork 4.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
Validate pod's volumes only once and also fix field path in the error message #16006
Validate pod's volumes only once and also fix field path in the error message #16006
Conversation
@@ -269,6 +269,25 @@ func (s *simpleProvider) ValidatePodSecurityContext(pod *api.Pod, fldPath *field | |||
|
|||
allErrs = append(allErrs, s.sysctlsStrategy.Validate(pod)...) | |||
|
|||
// TODO(timstclair): ValidatePodSecurityContext should be renamed to ValidatePod since its scope |
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.
nit, remove timstclair
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.
Ok, done.
lgtm with nit |
… message. This is the same change as kubernetes/kubernetes#31927 but for the SecurityContextConstraints.
0cda30e
to
81af0e1
Compare
PTAL @soltysh |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: php-coder, soltysh The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
Automatic merge from submit-queue |
This is the same change as kubernetes/kubernetes#31927
but for the
SecurityContextConstraints
.PTAL @liggitt @pweil-
CC @simo5