From a9634716299023f489c2bac7e48ff181e8ae150f Mon Sep 17 00:00:00 2001 From: Jacob Payne Date: Mon, 22 May 2023 14:36:12 -0700 Subject: [PATCH] fixed exporters tag Signed-off-by: Jacob Payne --- api/v1alpha2/osartifact_types.go | 2 +- config/crd/bases/build.kairos.io_osartifacts.yaml | 2 +- controllers/job.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/v1alpha2/osartifact_types.go b/api/v1alpha2/osartifact_types.go index c0341d2..06c6098 100644 --- a/api/v1alpha2/osartifact_types.go +++ b/api/v1alpha2/osartifact_types.go @@ -44,7 +44,7 @@ type OSArtifactSpec struct { OSRelease string `json:"osRelease,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` - Exporters []batchv1.JobSpec `json:"exporter,omitempty"` + Exporters []batchv1.JobSpec `json:"exporters,omitempty"` Volume *corev1.PersistentVolumeClaimSpec `json:"volume,omitempty"` } diff --git a/config/crd/bases/build.kairos.io_osartifacts.yaml b/config/crd/bases/build.kairos.io_osartifacts.yaml index 0c5f178..111d386 100644 --- a/config/crd/bases/build.kairos.io_osartifacts.yaml +++ b/config/crd/bases/build.kairos.io_osartifacts.yaml @@ -59,7 +59,7 @@ spec: diskSize: description: Disk-only stuff type: string - exporter: + exporters: items: description: JobSpec describes how the job execution will look like. properties: diff --git a/controllers/job.go b/controllers/job.go index ed7e9bd..05c6a6f 100644 --- a/controllers/job.go +++ b/controllers/job.go @@ -114,7 +114,7 @@ func (r *OSArtifactReconciler) newArtifactPVC(artifact *osbuilder.OSArtifact) *c }, Resources: corev1.ResourceRequirements{ Requests: map[corev1.ResourceName]resource.Quantity{ - "storage": resource.MustParse("2Gi"), + "storage": resource.MustParse("10Gi"), }, }, }