Update CRD validation and RBAC

This commit is contained in:
Moto Ishizawa
2020-02-02 10:30:42 +09:00
parent 127a601fb7
commit 7db5340595
5 changed files with 20 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ type RunnerReconciler struct {
// +kubebuilder:rbac:groups=actions.summerwind.dev,resources=runners,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=actions.summerwind.dev,resources=runners/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=core,resources=pod,verbs=get;update;patch;delete
func (r *RunnerReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) {
ctx := context.Background()