Update CRD validation and RBAC
This commit is contained in:
@@ -22,6 +22,8 @@ import (
|
||||
|
||||
// RunnerSpec defines the desired state of Runner
|
||||
type RunnerSpec struct {
|
||||
// +kubebuilder:validation:MinLength=3
|
||||
// +kubebuilder:validation:Pattern=`^[^/]+/[^/]+$`
|
||||
Repository string `json:"repository"`
|
||||
|
||||
// +optional
|
||||
|
||||
Reference in New Issue
Block a user