diff --git a/apis/helm/release/v1alpha1/types.go b/apis/helm/release/v1alpha1/types.go index 3b438d064c..bf684c9987 100644 --- a/apis/helm/release/v1alpha1/types.go +++ b/apis/helm/release/v1alpha1/types.go @@ -40,7 +40,7 @@ type NamespacedName struct { // DataKeySelector defines required spec to access a key of a configmap or secret type DataKeySelector struct { - NamespacedName `json:",inline,omitempty"` + NamespacedName `json:",inline"` Key string `json:"key,omitempty"` Optional bool `json:"optional,omitempty"` } diff --git a/apis/stackgres/v1/sgpostresconfig.go b/apis/stackgres/v1/sgpostresconfig.go index 84ff767046..4b2cb1cd93 100644 --- a/apis/stackgres/v1/sgpostresconfig.go +++ b/apis/stackgres/v1/sgpostresconfig.go @@ -22,7 +22,7 @@ type SGPostgresConfig struct { // +kubebuilder:object:root=true -type SGPostgesConfigList struct { +type SGPostgresConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` diff --git a/apis/stackgres/v1/zz_generated.deepcopy.go b/apis/stackgres/v1/zz_generated.deepcopy.go index be62fd31df..10dbb78c4f 100644 --- a/apis/stackgres/v1/zz_generated.deepcopy.go +++ b/apis/stackgres/v1/zz_generated.deepcopy.go @@ -10214,31 +10214,30 @@ func (in *SGPoolingConfigStatusPgBouncer) DeepCopy() *SGPoolingConfigStatusPgBou } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SGPostgesConfigList) DeepCopyInto(out *SGPostgesConfigList) { +func (in *SGPostgresConfig) DeepCopyInto(out *SGPostgresConfig) { *out = *in out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]SGPostgresConfig, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(SGPostgresConfigStatus) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGPostgesConfigList. -func (in *SGPostgesConfigList) DeepCopy() *SGPostgesConfigList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGPostgresConfig. +func (in *SGPostgresConfig) DeepCopy() *SGPostgresConfig { if in == nil { return nil } - out := new(SGPostgesConfigList) + out := new(SGPostgresConfig) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SGPostgesConfigList) DeepCopyObject() runtime.Object { +func (in *SGPostgresConfig) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -10246,30 +10245,31 @@ func (in *SGPostgesConfigList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SGPostgresConfig) DeepCopyInto(out *SGPostgresConfig) { +func (in *SGPostgresConfigList) DeepCopyInto(out *SGPostgresConfigList) { *out = *in out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(SGPostgresConfigStatus) - (*in).DeepCopyInto(*out) + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SGPostgresConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGPostgresConfig. -func (in *SGPostgresConfig) DeepCopy() *SGPostgresConfig { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGPostgresConfigList. +func (in *SGPostgresConfigList) DeepCopy() *SGPostgresConfigList { if in == nil { return nil } - out := new(SGPostgresConfig) + out := new(SGPostgresConfigList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SGPostgresConfig) DeepCopyObject() runtime.Object { +func (in *SGPostgresConfigList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c }