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

support - mutation or validation for custom policies? #3186

Closed
wibed opened this issue Dec 7, 2023 · 3 comments
Closed

support - mutation or validation for custom policies? #3186

wibed opened this issue Dec 7, 2023 · 3 comments
Labels
bug Something isn't working stale

Comments

@wibed
Copy link

wibed commented Dec 7, 2023

ive read,

#3001

  • tried using a assign mutation to mutate the baseline profile, for inclusion of the net_raw and the net_admin capabilities
    but maybe this is to manage capabilities from a central point and assigns them based on a ruleset

  • tried using constraints based on a constraint template to make certain capabilities valid against the baseline profile
    but maybe this is create your own custom little profiles

  • tried using modifyset mutation to "modify" the existing baseline profile
    but maybe this instead of overrides capabilities is a merge behaviour and complementary to the assign mutation behaviour

is this an attempt at reinventing the whole concept of policies. are there presets i have to include in every resource because i have to manually adapt policies because of it.

@wibed wibed added the bug Something isn't working label Dec 7, 2023
@maxsmythe
Copy link
Contributor

What are you trying to achieve? Can you provide an example resource and describe what you would like to happen to it?

@wibed
Copy link
Author

wibed commented Dec 9, 2023

id like to rephrase: there is a missing piece in the documentation here. the source of the issue above...

the importance of third party policies as the ones from google is not emphasized enough.
https://github.com/GoogleCloudPlatform/gke-policy-library

the fact that the gatekeeper does NOT mutate policies within the cluster but relays the whole policy command chain is not clearly stated from the beginning.
it first felt like a wrapper around the current policy management system. but its a complete replacement.

the documentation on "how to use gatekeeper" should include, be appended after a document stating on
how to make gatekeeper functional.
namely:

  • include the gatekeeper library crd's
  • download google's gatekeeper ruleset.

ps: i am still venting

Copy link

stale bot commented Feb 8, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 8, 2024
@stale stale bot closed this as completed Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants