From 7b65c4872f34a1e7ff7955e27915df2483567550 Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Fri, 7 Feb 2025 14:14:52 +0100 Subject: [PATCH] fix osbuilder --- api/v1alpha2/zz_generated.deepcopy.go | 70 +++++++++++++++++++ charts/osbuilder/Chart.yaml | 2 +- .../crds/build.kairos.io_osartifacts.yaml | 2 + .../bases/build.kairos.io_osartifacts.yaml | 2 + 4 files changed, 75 insertions(+), 1 deletion(-) diff --git a/api/v1alpha2/zz_generated.deepcopy.go b/api/v1alpha2/zz_generated.deepcopy.go index c383179..77f5076 100644 --- a/api/v1alpha2/zz_generated.deepcopy.go +++ b/api/v1alpha2/zz_generated.deepcopy.go @@ -26,6 +26,27 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudConfig) DeepCopyInto(out *CloudConfig) { + *out = *in + if in.Users != nil { + in, out := &in.Users, &out.Users + *out = make(Users, len(*in)) + copy(*out, *in) + } + out.Plural = in.Plural +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudConfig. +func (in *CloudConfig) DeepCopy() *CloudConfig { + if in == nil { + return nil + } + out := new(CloudConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ExporterSpec) DeepCopyInto(out *ExporterSpec) { *out = *in @@ -201,6 +222,21 @@ func (in *OSArtifactStatus) DeepCopy() *OSArtifactStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Plural) DeepCopyInto(out *Plural) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plural. +func (in *Plural) DeepCopy() *Plural { + if in == nil { + return nil + } + out := new(Plural) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec) { *out = *in @@ -221,3 +257,37 @@ func (in *RegistrySpec) DeepCopy() *RegistrySpec { in.DeepCopyInto(out) return out } + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *User) DeepCopyInto(out *User) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User. +func (in *User) DeepCopy() *User { + if in == nil { + return nil + } + out := new(User) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in Users) DeepCopyInto(out *Users) { + { + in := &in + *out = make(Users, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Users. +func (in Users) DeepCopy() Users { + if in == nil { + return nil + } + out := new(Users) + in.DeepCopyInto(out) + return *out +} diff --git a/charts/osbuilder/Chart.yaml b/charts/osbuilder/Chart.yaml index 68559bf..cae1766 100644 --- a/charts/osbuilder/Chart.yaml +++ b/charts/osbuilder/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: osbuilder description: A Helm chart for osbuilder appVersion: 0.6.0 -version: 0.2.0 +version: 0.2.1 dependencies: - name: cert-manager version: v1.16.3 diff --git a/charts/osbuilder/crds/build.kairos.io_osartifacts.yaml b/charts/osbuilder/crds/build.kairos.io_osartifacts.yaml index f264261..19cd02a 100644 --- a/charts/osbuilder/crds/build.kairos.io_osartifacts.yaml +++ b/charts/osbuilder/crds/build.kairos.io_osartifacts.yaml @@ -291,6 +291,8 @@ spec: - rpi3 - rpi4 type: string + project: + type: string type: object status: description: OSArtifactStatus defines the observed state of OSArtifact diff --git a/config/crd/bases/build.kairos.io_osartifacts.yaml b/config/crd/bases/build.kairos.io_osartifacts.yaml index f264261..19cd02a 100644 --- a/config/crd/bases/build.kairos.io_osartifacts.yaml +++ b/config/crd/bases/build.kairos.io_osartifacts.yaml @@ -291,6 +291,8 @@ spec: - rpi3 - rpi4 type: string + project: + type: string type: object status: description: OSArtifactStatus defines the observed state of OSArtifact