Skip to content
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

Same function to achieve as psa+debugging profile #204

Closed
tonyaw opened this issue Jun 13, 2022 · 1 comment
Closed

Same function to achieve as psa+debugging profile #204

tonyaw opened this issue Jun 13, 2022 · 1 comment

Comments

@tonyaw
Copy link

tonyaw commented Jun 13, 2022

opagk is one option for our product to replace psp, and following template shall be used:
https://github.com/open-policy-agent/gatekeeper-library/tree/master/library/pod-security-policy#pod-security-policies

By using template here, my understanding is there is no way to treat ephemeral container in a special way.
I mean I can't start a "privilleged" ephemeral container in a "restricted" pod since ConstraintTemplate here treats ephemeral container just same as normal container:
https://github.com/open-policy-agent/gatekeeper-library/blob/master/library/pod-security-policy/capabilities/template.yaml

Is it possible to provide some way to create a "privilleged" ephemeral container in a "restricted" pod just as "debugging profile" plans to do for psa?
kubernetes/kubectl#1108

Thanks in advance!

@tonyaw
Copy link
Author

tonyaw commented Jun 13, 2022

exemptImages shall be used.
Thanks!

@tonyaw tonyaw closed this as completed Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant