Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Question about configuring policy per user vs. cluster #563

Open
brandonkal opened this issue Dec 6, 2019 · 3 comments
Open

Question about configuring policy per user vs. cluster #563

brandonkal opened this issue Dec 6, 2019 · 3 comments

Comments

@brandonkal
Copy link
Contributor

Expected Behaviour

Currently dockerfile functions are allowed universally in the cluster or not. It would be nice to be able to share a cloud while forcing most users to use one of the cluster-approved templates.

Current Behaviour

It's either enabled or not.

Possible Solution

Add a new option "acl". If set, check if the username in the CUSTOMERS file has " dockerfile" listed:

admin-username dockerfile
squire

This solution keeps things simple.

@alexellis
Copy link
Member

Can you tell us more about your usecase?

@alexellis
Copy link
Member

/set title: Question about configuring policy per user vs. cluster

@derek derek bot changed the title [feature request] dockerfile ACL Question about configuring policy per user vs. cluster Dec 6, 2019
@brandonkal
Copy link
Contributor Author

Sure. I would like to deploy an OpenFaaS cloud cluster where only "admin" users can use the dockerfile template. This allows the admin user to experiment with other workloads while keeping the cluster a little more locked down for standard users to encourage the use of templates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants