We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6987a7f commit 5c754a3Copy full SHA for 5c754a3
plugins/addon/type.go
@@ -74,6 +74,7 @@ type {{.Resource.Kind}}Status struct {
74
}
75
76
// +kubebuilder:object:root=true
77
+{{ if not .Resource.Namespaced }} // +kubebuilder:resource:scope=Cluster {{ end }}
78
79
// {{.Resource.Kind}} is the Schema for the {{ .Resource.Resource }} API
80
type {{.Resource.Kind}} struct {
@@ -107,6 +108,7 @@ func (o *{{.Resource.Kind}}) SetCommonStatus(s addonv1alpha1.CommonStatus) {
107
108
109
110
111
112
113
// {{.Resource.Kind}}List contains a list of {{.Resource.Kind}}
114
type {{.Resource.Kind}}List struct {
0 commit comments