diff --git a/pkg/apis/fleet.cattle.io/v1alpha1/bundledeployment_types.go b/pkg/apis/fleet.cattle.io/v1alpha1/bundledeployment_types.go index fce5d7f5e6..749c7d36a4 100644 --- a/pkg/apis/fleet.cattle.io/v1alpha1/bundledeployment_types.go +++ b/pkg/apis/fleet.cattle.io/v1alpha1/bundledeployment_types.go @@ -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. @@ -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. diff --git a/pkg/apis/fleet.cattle.io/v1alpha1/gitrepo_types.go b/pkg/apis/fleet.cattle.io/v1alpha1/gitrepo_types.go index 74467ac5f1..eb1e4c7735 100644 --- a/pkg/apis/fleet.cattle.io/v1alpha1/gitrepo_types.go +++ b/pkg/apis/fleet.cattle.io/v1alpha1/gitrepo_types.go @@ -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"` }