mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 04:26:51 +00:00
omit empty repository from runner spec
This commit is contained in:
@@ -29,7 +29,7 @@ type RunnerSpec struct {
|
|||||||
|
|
||||||
// +optional
|
// +optional
|
||||||
// +kubebuilder:validation:Pattern=`^[^/]*$`
|
// +kubebuilder:validation:Pattern=`^[^/]*$`
|
||||||
Repository string `json:"repository"`
|
Repository string `json:"repository,omitempty"`
|
||||||
|
|
||||||
// +optional
|
// +optional
|
||||||
Containers []corev1.Container `json:"containers,omitempty"`
|
Containers []corev1.Container `json:"containers,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user