@@ -466,6 +466,87 @@ spec:
466466 should take to execute.
467467 format : duration
468468 type : string
469+ trigger :
470+ description : Trigger defines the scenarios where a new build should
471+ be triggered.
472+ properties :
473+ secretRef :
474+ description : SecretRef points to a local object carrying the
475+ secret token to validate webhook request.
476+ properties :
477+ name :
478+ description : ' Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
479+ TODO: Add other useful fields. apiVersion, kind, uid?'
480+ type : string
481+ type : object
482+ when :
483+ description : When the list of scenarios when a new build should
484+ take place.
485+ items :
486+ description : TriggerWhen a given scenario where the webhook
487+ trigger is applicable.
488+ properties :
489+ github :
490+ description : GitHub describes how to trigger builds
491+ based on GitHub (SCM) events.
492+ properties :
493+ branches :
494+ description : Branches slice of branch names where
495+ the event applies.
496+ items :
497+ type : string
498+ type : array
499+ events :
500+ description : Events GitHub event names.
501+ items :
502+ description : GitHubEventName set of WhenGitHub
503+ valid event names.
504+ type : string
505+ minItems : 1
506+ type : array
507+ type : object
508+ image :
509+ description : Image slice of image names where the event
510+ applies.
511+ properties :
512+ names :
513+ description : Names fully qualified image names.
514+ items :
515+ type : string
516+ type : array
517+ type : object
518+ name :
519+ description : Name name or the short description of the
520+ trigger condition.
521+ type : string
522+ objectRef :
523+ description : ObjectRef describes how to match a foreign
524+ resource, either using the name or the label selector,
525+ plus the current resource status.
526+ properties :
527+ name :
528+ description : Name target object name.
529+ type : string
530+ selector :
531+ additionalProperties :
532+ type : string
533+ description : Selector label selector.
534+ type : object
535+ status :
536+ description : Status object status.
537+ items :
538+ type : string
539+ type : array
540+ type : object
541+ type :
542+ description : Type the event type
543+ type : string
544+ required :
545+ - name
546+ - type
547+ type : object
548+ type : array
549+ type : object
469550 volumes :
470551 description : Volumes contains volume Overrides of the BuildStrategy
471552 volumes in case those are allowed to be overridden. Must only
@@ -4190,6 +4271,87 @@ spec:
41904271 should take to execute.
41914272 format : duration
41924273 type : string
4274+ trigger :
4275+ description : Trigger defines the scenarios where a new build should
4276+ be triggered.
4277+ properties :
4278+ secretRef :
4279+ description : SecretRef points to a local object carrying the
4280+ secret token to validate webhook request.
4281+ properties :
4282+ name :
4283+ description : ' Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4284+ TODO: Add other useful fields. apiVersion, kind, uid?'
4285+ type : string
4286+ type : object
4287+ when :
4288+ description : When the list of scenarios when a new build should
4289+ take place.
4290+ items :
4291+ description : TriggerWhen a given scenario where the webhook
4292+ trigger is applicable.
4293+ properties :
4294+ github :
4295+ description : GitHub describes how to trigger builds
4296+ based on GitHub (SCM) events.
4297+ properties :
4298+ branches :
4299+ description : Branches slice of branch names where
4300+ the event applies.
4301+ items :
4302+ type : string
4303+ type : array
4304+ events :
4305+ description : Events GitHub event names.
4306+ items :
4307+ description : GitHubEventName set of WhenGitHub
4308+ valid event names.
4309+ type : string
4310+ minItems : 1
4311+ type : array
4312+ type : object
4313+ image :
4314+ description : Image slice of image names where the event
4315+ applies.
4316+ properties :
4317+ names :
4318+ description : Names fully qualified image names.
4319+ items :
4320+ type : string
4321+ type : array
4322+ type : object
4323+ name :
4324+ description : Name name or the short description of the
4325+ trigger condition.
4326+ type : string
4327+ objectRef :
4328+ description : ObjectRef describes how to match a foreign
4329+ resource, either using the name or the label selector,
4330+ plus the current resource status.
4331+ properties :
4332+ name :
4333+ description : Name target object name.
4334+ type : string
4335+ selector :
4336+ additionalProperties :
4337+ type : string
4338+ description : Selector label selector.
4339+ type : object
4340+ status :
4341+ description : Status object status.
4342+ items :
4343+ type : string
4344+ type : array
4345+ type : object
4346+ type :
4347+ description : Type the event type
4348+ type : string
4349+ required :
4350+ - name
4351+ - type
4352+ type : object
4353+ type : array
4354+ type : object
41934355 volumes :
41944356 description : Volumes contains volume Overrides of the BuildStrategy
41954357 volumes in case those are allowed to be overridden. Must only
0 commit comments