Skip to content

Commit fc37db3

Browse files
committed
fix: updated to have correct permissions
1 parent 761f1bb commit fc37db3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

internal/helper/clusteraccess.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,14 @@ func GetOnboardingCluster(ctx context.Context, log logging.Logger, client client
5959
{
6060
APIGroups: []string{"apiextensions.k8s.io"},
6161
Resources: []string{"customresourcedefinitions"},
62-
Verbs: []string{"get", "patch", "create", "update", "delete"},
62+
Verbs: []string{"get", "patch", "update", "delete"},
6363
ResourceNames: []string{"mcpusages.usage.openmcp.cloud"},
6464
},
65+
{
66+
APIGroups: []string{"apiextensions.k8s.io"},
67+
Resources: []string{"customresourcedefinitions"},
68+
Verbs: []string{"create"},
69+
},
6570
{
6671
APIGroups: []string{"usage.openmcp.cloud"},
6772
Resources: []string{"*"},

0 commit comments

Comments
 (0)