@@ -88,8 +88,8 @@ into which will be interpolated the details of the change made.</p>
8888<td >
8989<code >gitRepositoryRef</code ><br >
9090<em >
91- <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#localobjectreference-v1-core " >
92- Kubernetes core/v1 .LocalObjectReference
91+ <a href =" https://godoc.org/github.com/fluxcd/pkg/apis/meta#LocalObjectReference " >
92+ github.com/fluxcd/pkg/apis/meta .LocalObjectReference
9393</a >
9494</em >
9595</td >
@@ -106,7 +106,9 @@ string
106106</em >
107107</td >
108108<td >
109- <p >Branch gives the branch to clone from the git repository.</p >
109+ <p >Branch gives the branch to clone from the git repository. If
110+ <code >.spec.push</code > is not supplied, commits will also be pushed to
111+ this branch.</p >
110112</td >
111113</tr >
112114</tbody >
@@ -206,7 +208,23 @@ CommitSpec
206208</em >
207209</td >
208210<td >
209- <p >Commit specifies how to commit to the git repo</p >
211+ <p >Commit specifies how to commit to the git repository.</p >
212+ </td >
213+ </tr >
214+ <tr >
215+ <td >
216+ <code >push</code ><br >
217+ <em >
218+ <a href =" #image.toolkit.fluxcd.io/v1alpha1.PushSpec " >
219+ PushSpec
220+ </a >
221+ </em >
222+ </td >
223+ <td >
224+ <em >(Optional)</em >
225+ <p >Push specifies how and where to push commits made by the
226+ automation. If missing, commits are pushed (back) to
227+ <code >.spec.checkout.branch</code >.</p >
210228</td >
211229</tr >
212230<tr >
@@ -311,7 +329,23 @@ CommitSpec
311329</em >
312330</td >
313331<td >
314- <p >Commit specifies how to commit to the git repo</p >
332+ <p >Commit specifies how to commit to the git repository.</p >
333+ </td >
334+ </tr >
335+ <tr >
336+ <td >
337+ <code >push</code ><br >
338+ <em >
339+ <a href =" #image.toolkit.fluxcd.io/v1alpha1.PushSpec " >
340+ PushSpec
341+ </a >
342+ </em >
343+ </td >
344+ <td >
345+ <em >(Optional)</em >
346+ <p >Push specifies how and where to push commits made by the
347+ automation. If missing, commits are pushed (back) to
348+ <code >.spec.checkout.branch</code >.</p >
315349</td >
316350</tr >
317351<tr >
@@ -434,6 +468,40 @@ github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus
434468</table >
435469</div >
436470</div >
471+ <h3 id =" image.toolkit.fluxcd.io/v1alpha1.PushSpec " >PushSpec
472+ </h3 >
473+ <p >
474+ (<em >Appears on:</em >
475+ <a href =" #image.toolkit.fluxcd.io/v1alpha1.ImageUpdateAutomationSpec " >ImageUpdateAutomationSpec</a >)
476+ </p >
477+ <p >PushSpec specifies how and where to push commits.</p >
478+ <div class =" md-typeset__scrollwrap " >
479+ <div class =" md-typeset__table " >
480+ <table >
481+ <thead >
482+ <tr >
483+ <th >Field</th >
484+ <th >Description</th >
485+ </tr >
486+ </thead >
487+ <tbody >
488+ <tr >
489+ <td >
490+ <code >branch</code ><br >
491+ <em >
492+ string
493+ </em >
494+ </td >
495+ <td >
496+ <p >Branch specifies that commits should be pushed to the branch
497+ named. The branch is created using <code >.spec.checkout.branch</code > as the
498+ starting point, if it doesn&rsquo ; t already exist.</p >
499+ </td >
500+ </tr >
501+ </tbody >
502+ </table >
503+ </div >
504+ </div >
437505<h3 id =" image.toolkit.fluxcd.io/v1alpha1.UpdateStrategy " >UpdateStrategy
438506</h3 >
439507<p >
@@ -466,6 +534,20 @@ UpdateStrategyName
466534<p >Strategy names the strategy to be used.</p >
467535</td >
468536</tr >
537+ <tr >
538+ <td >
539+ <code >path</code ><br >
540+ <em >
541+ string
542+ </em >
543+ </td >
544+ <td >
545+ <em >(Optional)</em >
546+ <p >Path to the directory containing the manifests to be updated.
547+ Defaults to &lsquo ; None&rsquo ; , which translates to the root path
548+ of the GitRepositoryRef.</p >
549+ </td >
550+ </tr >
469551</tbody >
470552</table >
471553</div >
0 commit comments