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

namespace annotations for profile enforcement #10

Open
mblaschke opened this issue Sep 14, 2021 · 1 comment
Open

namespace annotations for profile enforcement #10

mblaschke opened this issue Sep 14, 2021 · 1 comment

Comments

@mblaschke
Copy link

it should be possible to set the profile annotation on namespace level which should enforce a profile and ignore the pod profile (or make it possible to configure enforcement or default profile)

example:

apiVersion: v1
kind: Namespace
metadata:
  name: foobar
  annotations:
    # for default profile (can be overwritten in pod)
    nodepolicy.softonic.io/default-profile: "stateless"
   # for enforced (not overwritable profile)
    nodepolicy.softonic.io/enforce-profile: "stateless"
@rccrdpccl
Copy link
Contributor

Thanks @mblaschke , I think this would be a good feature. Are you willing to create a PR for this?

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

2 participants