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
Generate a unique external-name foreach unique pair of role and team combinations instead of <orgID>:<roleID> because the same role within the same organization could be reused multiple times. Thus also creating a new assignment in Grafana.
External-Name should probably look something like <orgID>:<teamID>:<roleID> In my examples:
1:44:fixed_qDzW9mzx9yM91T5Bi8dHUM2muTw
1:38:fixed_qDzW9mzx9yM91T5Bi8dHUM2muTw
Actual Behavior
The external-name ignores the team in the external-name and thus only creates one assignment for the org and role combination. Meaning one of n teams will get the actual assignment.
If you delete the assignment manually you can see that another role gets the assignment.
Steps to Reproduce
Create two seperate teams
Create two seperate assignments for built-in explore role (fixed_qDzW9mzx9yM91T5Bi8dHUM2muTw)
see that the same external-name is used and only one team in Grafana has the additional role added
Important Factoids
Grafana Enterprise is needed for this
References
No response
Edit: upgraded provider from v0.18.0 to v0.22.0 without any changes in the behavior
The text was updated successfully, but these errors were encountered:
Crossplane Version
v1.18
Crossplane Grafana Provider Version
v0.22.0
Affected Resource(s)
YAML resources
Expected Behavior
Generate a unique external-name foreach unique pair of role and team combinations instead of
<orgID>:<roleID>
because the same role within the same organization could be reused multiple times. Thus also creating a new assignment in Grafana.External-Name should probably look something like
<orgID>:<teamID>:<roleID>
In my examples:1:44:fixed_qDzW9mzx9yM91T5Bi8dHUM2muTw
1:38:fixed_qDzW9mzx9yM91T5Bi8dHUM2muTw
Actual Behavior
The external-name ignores the team in the external-name and thus only creates one assignment for the org and role combination. Meaning one of n teams will get the actual assignment.
If you delete the assignment manually you can see that another role gets the assignment.
Steps to Reproduce
fixed_qDzW9mzx9yM91T5Bi8dHUM2muTw
)Important Factoids
Grafana Enterprise is needed for this
References
No response
Edit: upgraded provider from v0.18.0 to v0.22.0 without any changes in the behavior
The text was updated successfully, but these errors were encountered: