You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
Introduce ImageRoleAuthorization and ClusterImageRoleAuthorization CRDs in the [admin.acorn.io](http://admin.acorn.io) API-Group
Introduce a feature flag which enables “deny-by-default” for all permissions (unless allowed by one of the above)
How to Test
Install acorn with acorn install --features image-role-authorizations=true
Have an Acorn ready that requests some permissions (you have to know them)
Run the Acorn
Ensure that the Acorn won't start properly and show an permissions denied error in the status output
Create an IRA that covers the image and references a role that covers the permissions - if you don't have a role like that, you can create it as well
Run the Acorn again
Verify that it now starts successfully
Here are some example files:
Acornfile:
containers: web: {
image: "nginx"
permissions: {
// These are permissions that will only be granted for this container in its namespace.
rules: [
{
verbs: ["*"],
apiGroups: ["foo.bar.com"],
resources: ["*"]
},
]
}
ImageRoleAuthorization
andClusterImageRoleAuthorization
CRDs in the[admin.acorn.io](http://admin.acorn.io)
API-GroupHow to Test
acorn install --features image-role-authorizations=true
permissions denied
error in the status outputHere are some example files:
Acornfile:
Role + IRA that just allow everything:
The text was updated successfully, but these errors were encountered: