Skip to content

Commit

Permalink
Remove enum validation for EmbeddedAppName
Browse files Browse the repository at this point in the history
making optional doesnt have any effect - unset values result in validation failure.

Signed-off-by: Gregory Haynes <[email protected]>
  • Loading branch information
greghaynes committed Dec 6, 2023
1 parent eba8ba5 commit bfa4783
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/v1alpha1/gitrepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ type GitRepositorySpec struct {
}

type GitRepositorySource struct {
// +kubebuilder:validation:Optional
// +kubebuilder:validation:Enum:=argocd;backstage;crossplane;gitea;nginx
EmbeddedAppName string `json:"embeddedAppName"`
// Path is the absolute path to directory that contains Kustomize structure or raw manifests.
// This is required when Type is set to local.
Expand Down

0 comments on commit bfa4783

Please sign in to comment.