-
Notifications
You must be signed in to change notification settings - Fork 398
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
Management of Teams within Grafana "Main Org" Only #1297
Comments
@xorima i have spent lots and lots of time in this area. Yes the initial plan was org level support as well, but even managing teams, sa and users is a pain with CRDs. This is mostly due to how the grafana API is not built for CRDs (nothing strange with this). I wrote a design PR on how this could look like and the more I learned about the API the less I thought it was double, in a easy to use CRD. For this feature to ever be implemented, you or someone else from the community will need to be the driver and a new design proposal on how the CRD should look like needs to be created. After that, the implementation should be relatively easy to fix. |
@NissesSenap thank you will write up a full proposal. I think this time it might be a little simpler as it's just creation of teams (which flows into folder permissions) It might be worth leaving the population of the teams to another future issue as that is where a lot of complexity lives and honestly people will have different solutions there depending on their environment etc. |
This issue hasn't been updated for a while, marking as stale, please respond within the next 7 days to remove this label |
Still creating a design for this will try to have it by early Jan |
This issue hasn't been updated for a while, marking as stale, please respond within the next 7 days to remove this label |
Keeping open. The plan is still to do this. |
Are there any news there? I'm looking for a way to provision teams automatically, at Grafana's bootstrap. Thanks |
No news, but feel free to take a stab at a design document, see comments above. From there an implementation can be done. |
Is your feature request related to a problem? Please describe.
I need to be able to permission folders based on teams within Grafana. Today this operator solves the folder permissions but not the creation of teams.
This was previously discussed on #549 but I am looking for a refined scope of just Teams within the default org.
Describe the solution you'd like
To be able to list the team I want and the usernames of the people within the team, optionally with a URL for team members with a well known format to have this handled by a dynamic external datasource if possible. (If not the consumer could write their own system to update the resources with the list of people/teams)
Additionally after this we should either be able to look up a team and get it's
id
via kubernetes resources, or where a team can be used today byid
we should also accept a teamName, even if not fully in line with the grafana api, so that names and not ids that users do not have full control of can be used.Describe alternatives you've considered
The only other way I can see to handle this is either the terraform module, or a custom application & helm deployment, neither of which are great.
Existing solutions
https://registry.terraform.io/providers/grafana/grafana/latest/docs/data-sources/team
notes
If this is accepted I am happy to contribute towards this but likely will need assistance as I have not worked in the operator space before
The text was updated successfully, but these errors were encountered: