Skip to content

Commit 12a0d0c

Browse files
committed
Add self and this to reserved keywords
After this conversation we'd like to book these two keywords just in case they will be helpful for collections kubernetes-sigs#679 (comment)
1 parent 8dd14ae commit 12a0d0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkg/graph/validation.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,20 @@ var (
4747
"graph",
4848
"instance",
4949
"kind",
50+
"kro",
5051
"metadata",
5152
"namespace",
5253
"object",
5354
"resource",
5455
"resourcegraphdefinition",
5556
"resources",
5657
"runtime",
57-
"serviceAccountName",
5858
"schema",
59+
"self",
60+
"serviceAccountName",
5961
"spec",
6062
"status",
61-
"kro",
63+
"this",
6264
"variables",
6365
"vars",
6466
"version",

0 commit comments

Comments
 (0)