Skip to content

Commit b415875

Browse files
chore: update generated files
- Update RBAC role with latest controller-gen v0.18.0 - Format code with go fmt
1 parent 3d3742b commit b415875

File tree

3 files changed

+7
-43
lines changed

3 files changed

+7
-43
lines changed

config/rbac/role.yaml

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,11 @@ kind: ClusterRole
44
metadata:
55
name: manager-role
66
rules:
7-
- apiGroups:
8-
- ""
9-
resources:
10-
- events
11-
verbs:
12-
- create
13-
- patch
147
- apiGroups:
158
- ""
169
resources:
1710
- endpoints
11+
- services
1812
verbs:
1913
- create
2014
- delete
@@ -26,52 +20,22 @@ rules:
2620
- apiGroups:
2721
- ""
2822
resources:
29-
- secrets
30-
verbs:
31-
- get
32-
- list
33-
- watch
34-
- apiGroups:
35-
- ""
36-
resources:
37-
- services
23+
- events
3824
verbs:
3925
- create
40-
- delete
41-
- get
42-
- list
4326
- patch
44-
- update
45-
- watch
4627
- apiGroups:
47-
- ndb.nutanix.com
28+
- ""
4829
resources:
49-
- databases
30+
- secrets
5031
verbs:
51-
- create
52-
- delete
5332
- get
5433
- list
55-
- patch
56-
- update
5734
- watch
5835
- apiGroups:
5936
- ndb.nutanix.com
6037
resources:
61-
- databases/finalizers
62-
verbs:
63-
- update
64-
- apiGroups:
65-
- ndb.nutanix.com
66-
resources:
67-
- databases/status
68-
verbs:
69-
- get
70-
- patch
71-
- update
72-
- apiGroups:
73-
- ndb.nutanix.com
74-
resources:
38+
- databases
7539
- ndbservers
7640
verbs:
7741
- create
@@ -84,12 +48,14 @@ rules:
8448
- apiGroups:
8549
- ndb.nutanix.com
8650
resources:
51+
- databases/finalizers
8752
- ndbservers/finalizers
8853
verbs:
8954
- update
9055
- apiGroups:
9156
- ndb.nutanix.com
9257
resources:
58+
- databases/status
9359
- ndbservers/status
9460
verbs:
9561
- get

controller_adapters/name_resolution.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,3 @@ func resolveSnapshotNameToId(ctx context.Context, ndbClient *ndb_client.NDBClien
123123
log.Info("Resolved snapshot name to ID", "snapshotName", snapshotName, "snapshotId", snapshotId)
124124
return nil
125125
}
126-

ndb_api/name_resolution_helpers.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,3 @@ type ClusterResponse struct {
137137
Id string `json:"id"`
138138
Name string `json:"name"`
139139
}
140-

0 commit comments

Comments
 (0)