-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[kube-prometheus-stack] SecurityContext for webhook job create/patch container #2406
Merged
Commits on Aug 31, 2022
-
Stumbled in to this when working with kyverno and enforced strict pol…
…icies. Kyverno and using strict policy configuration, job create for `ingress-nginx-admission-create` fails with policies `require-drop-all`and `disallow-privilege-escalation`. Adding the ability to configure containers in webhooks create and patch from helm values. > k describe job monitoring-kube-prometheus-admission-patch ``` resource Pod/my-namespace/monitoring-kube-prometheus-admission-patch-njdkq was blocked due to the following policies disallow-capabilities-strict: require-drop-all: 'validation failure: Containers must drop `ALL` capabilities.' disallow-privilege-escalation: privilege-escalation: 'validation error: Privilege escalation is disallowed. The fields spec.containers[*].securityContext.allowPrivilegeEscalation, spec.initContainers[*].securityContext.allowPrivilegeEscalation, and spec.ephemeralContainers[*].securityContext.allowPrivilegeEscalation must be set to `false`. Rule privilege-escalation failed at path /spec/containers/0/securityContext/' ``` Signed-off-by: ybelMekk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f61c09 - Browse repository at this point
Copy the full SHA 4f61c09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79c9418 - Browse repository at this point
Copy the full SHA 79c9418View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb894ce - Browse repository at this point
Copy the full SHA fb894ceView commit details -
issue with nil pointer for if, use with
Signed-off-by: ybelMekk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c20e6d9 - Browse repository at this point
Copy the full SHA c20e6d9View commit details -
Signed-off-by: Youssef Bel Mekki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3f6916 - Browse repository at this point
Copy the full SHA f3f6916View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d4ce31 - Browse repository at this point
Copy the full SHA 1d4ce31View commit details -
leard something about helm today, i need to spec the path right to ge…
…t it to work.. Signed-off-by: ybelMekk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5246801 - Browse repository at this point
Copy the full SHA 5246801View commit details -
tidy values.yaml, remove extra newlines
Signed-off-by: ybelMekk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea1985a - Browse repository at this point
Copy the full SHA ea1985aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.