Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove empty fields from gitrepo/bd resources #2901

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type BundleDeploymentOptions struct {
Kustomize *KustomizeOptions `json:"kustomize,omitempty"`

// Helm options for the deployment, like the chart name, repo and values.
// +nullable
// +optional
Helm *HelmOptions `json:"helm,omitempty"`

// ServiceAccount which will be used to perform this deployment.
Expand All @@ -98,6 +98,7 @@ type BundleDeploymentOptions struct {
DeleteNamespace bool `json:"deleteNamespace,omitempty"`

//IgnoreOptions can be used to ignore fields when monitoring the bundle.
// +optional
IgnoreOptions `json:"ignore,omitempty"`

// CorrectDrift specifies how drift correction should work.
Expand Down
3 changes: 0 additions & 3 deletions pkg/apis/fleet.cattle.io/v1alpha1/gitrepo_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,13 @@ type ResourcePerClusterState struct {
type CommitSpec struct {
// AuthorName gives the name to provide when making a commit
// +optional
// +nullable
AuthorName string `json:"authorName"`
// AuthorEmail gives the email to provide when making a commit
// +optional
// +nullable
AuthorEmail string `json:"authorEmail"`
// MessageTemplate provides a template for the commit message,
// into which will be interpolated the details of the change made.
// +optional
// +nullable
MessageTemplate string `json:"messageTemplate,omitempty"`
}

Expand Down
Loading