Skip to content

Commit 65c8137

Browse files
authoredJul 4, 2024··
Merge pull request #1602 from timp87/fix-grafanafolder-permission-reconciliation
fix: use correct folder uid to update permissions
2 parents 58f6a0c + 3695416 commit 65c8137

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎controllers/grafanafolder_controller.go

+2
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ func (r *GrafanaFolderReconciler) onFolderCreated(ctx context.Context, grafana *
332332
}
333333

334334
if exists {
335+
// make sure we use the correct UID
336+
uid = remoteUID
335337
// Add to status to cover cases:
336338
// - operator have previously failed to update status
337339
// - the folder was created outside of operator

0 commit comments

Comments
 (0)
Please sign in to comment.