fixed exporters tag

Signed-off-by: Jacob Payne <jacob@spectrocloud.com>
This commit is contained in:
Jacob Payne 2023-05-22 14:36:12 -07:00
parent 8323189e56
commit a963471629
No known key found for this signature in database
GPG Key ID: C486E8914C70BE8C
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ type OSArtifactSpec struct {
OSRelease string `json:"osRelease,omitempty"` OSRelease string `json:"osRelease,omitempty"`
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,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"` Volume *corev1.PersistentVolumeClaimSpec `json:"volume,omitempty"`
} }

View File

@ -59,7 +59,7 @@ spec:
diskSize: diskSize:
description: Disk-only stuff description: Disk-only stuff
type: string type: string
exporter: exporters:
items: items:
description: JobSpec describes how the job execution will look like. description: JobSpec describes how the job execution will look like.
properties: properties:

View File

@ -114,7 +114,7 @@ func (r *OSArtifactReconciler) newArtifactPVC(artifact *osbuilder.OSArtifact) *c
}, },
Resources: corev1.ResourceRequirements{ Resources: corev1.ResourceRequirements{
Requests: map[corev1.ResourceName]resource.Quantity{ Requests: map[corev1.ResourceName]resource.Quantity{
"storage": resource.MustParse("2Gi"), "storage": resource.MustParse("10Gi"),
}, },
}, },
} }