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
# Add a line to the beginning of the file saying that this is the script that generated it.
12
+
sed -i '''1s/^/\/\/ Code generated by hack\/update_static_schema.sh; DO NOT EDIT.\n\/\/ Everything below is downloaded from applyconfigurations\/internal\/internal.go in kubernetes\/client-go.\n\n/' pkg/utils/kube/scheme/parser.go
13
+
14
+
# Replace "package internal" with "package scheme" in the parser file
15
+
sed -i '''s/package internal/package scheme/' pkg/utils/kube/scheme/parser.go
16
+
17
+
# Replace "func Parser" with "func StaticParser"
18
+
sed -i '''s/func Parser/func StaticParser/' pkg/utils/kube/scheme/parser.go
0 commit comments