diff --git a/api/v1alpha1/runner_types.go b/api/v1alpha1/runner_types.go index bb681393..3ea55925 100644 --- a/api/v1alpha1/runner_types.go +++ b/api/v1alpha1/runner_types.go @@ -29,7 +29,7 @@ type RunnerSpec struct { // +optional // +kubebuilder:validation:Pattern=`^[^/]*$` - Repository string `json:"repository"` + Repository string `json:"repository,omitempty"` // +optional Containers []corev1.Container `json:"containers,omitempty"`