@@ -51,12 +51,11 @@ type StarterProject struct {
5151// Only one of the following project sources may be specified.
5252// If none of the following policies is specified, the default one
5353// is AllowConcurrent.
54- // +kubebuilder:validation:Enum=Git;Github; Zip;Custom
54+ // +kubebuilder:validation:Enum=Git;Zip;Custom
5555type ProjectSourceType string
5656
5757const (
5858 GitProjectSourceType ProjectSourceType = "Git"
59- GitHubProjectSourceType ProjectSourceType = "Github"
6059 ZipProjectSourceType ProjectSourceType = "Zip"
6160 CustomProjectSourceType ProjectSourceType = "Custom"
6261)
@@ -73,10 +72,6 @@ type ProjectSource struct {
7372 // +optional
7473 Git * GitProjectSource `json:"git,omitempty"`
7574
76- // Project's GitHub source. Deprecated, use `Git` instead
77- // +optional
78- Github * GithubProjectSource `json:"github,omitempty"`
79-
8075 // Project's Zip source
8176 // +optional
8277 Zip * ZipProjectSource `json:"zip,omitempty"`
@@ -129,7 +124,3 @@ type CheckoutFrom struct {
129124type GitProjectSource struct {
130125 GitLikeProjectSource `json:",inline"`
131126}
132-
133- type GithubProjectSource struct {
134- GitLikeProjectSource `json:",inline"`
135- }
0 commit comments